Giter Club home page Giter Club logo

Comments (4)

4silvertooth avatar 4silvertooth commented on June 9, 2024 1

I've added few changes to allow operators in annotations, it will work without any prefix symbol before annotation. Either press space and operator at the end of annotation to move to next line of calculations or press enter and continue with calculations.

from qwiktape.

4silvertooth avatar 4silvertooth commented on June 9, 2024

I'll add this feature in the next build. You will loose the ability to continue new calculation when pressing mathematical operator when comment stars with #. Pressing Enter followed by a mathematical operator will continue the calculations.

Edit: Need suggestion about using #, it would look very developer kind of thing, other users might find it confusing who doesn't know how comments work on programming languages, how about just starting the comment with " (double or single quote). Input appreciated.

Edit 2: Some issues, what happens if you remove the # comment with mathematical operators in comment, lets say
500 # from 01/01/2024
after deleting the char #, it will become an expression

        500.00 from 01
/         1.00
/     2,024.00
══════════════
          0.25

from qwiktape.

jwoodard80 avatar jwoodard80 commented on June 9, 2024

The same thing somewhat happens with calctape. You have the option to "switch" to a text editor mode that doesn't parse. When you switch back it doesn't automatically format the "date", however, anything entered after is parsed.

Maybe that made sense.... I've had little sleep. :-)

I was glancing over your code (I'm not a developer, just a reader, lol.) However, if I am understanding everything at a very high level, we're just parsing text. I was brainstorming if there could be a comment "wrapper" of some kind rather than a single #

I may need to think on it a bit more.

from qwiktape.

4silvertooth avatar 4silvertooth commented on June 9, 2024

v0.7 includes this feature.

from qwiktape.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.