Comments (4)
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.
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.
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.
v0.7 includes this feature.
from qwiktape.
Related Issues (11)
- Dark background HOT 5
- Cool idea. Dies a horrible death under Wayland HOT 4
- cmd line option "path to qwiktapes.db" HOT 2
- Assumes a `document` path that in Linux fails HOT 1
- Feature request - use ESC key to clear tape content HOT 2
- Enhancement - Focus tape first HOT 3
- Editor freezes when using long variable names HOT 2
- pdf export not work, and no error HOT 1
- "Word Wrap" option HOT 2
- Unfortunately does not rund under KDE Neon Wayland HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qwiktape.