04228cb497
Fix Experimental Markdown Toolbar
...
It's now again visible
2021-02-03 16:34:30 +01:00
ebff34b753
Basic implementation of undo/redo
...
It's not great, as the granularity is too low. But it's a good first
step. It only works in the RawEditor so far.
2021-02-03 16:03:15 +01:00
8c373986bc
Move Editor Bottom bar to its own file
2021-02-02 16:03:35 +01:00
2199cd2a3a
Add some scaffolding for undo/redo
...
I don't want to lose these changes and putting them in a branch will
result in merge conflicts.
2021-01-22 10:11:35 +01:00
5571fdb65e
Use time.dart
...
I'm sacrificing const code for readability. So maybe I'll lose a bit of
performance, but this is so much easier to read.
2020-11-10 19:07:09 +01:00
43269bbe53
Add lots of listen: false when using Provider
...
Provider version 4 has an assert which fires if used incorrectly.
2020-09-28 00:09:14 +02:00
a9b821f360
Remove another case of the global settings
2020-09-25 01:40:03 +02:00
265e253584
Generate one journal entry per day
...
Fixes #243
2020-09-16 11:08:16 +02:00
e33857f8e9
Do not show Tag Editing screen if the Note cannot have metadata
...
In the case of '.txt' notes or markdown notes without a yaml header.
2020-09-03 08:52:27 +02:00
7e7503ca2f
Editors: Expose the preview markdown button on all editors
...
It's nice to sometimes use the RawEditor to edit something and then
later you want to see what it looks, and having to switch to the
Markdown Editor for that is very annoying.
2020-08-20 11:47:31 +02:00
9d55b449d3
Settings: Access it through the Provider
...
Make it a ChageNotifier and try to access it through the Provider
instead of like a global variable. This way, the state is better
managed and it'll be easier to split out Settings into smaller classes.
2020-08-09 01:29:22 +02:00
0fe965a2d6
FocusMode: Show the elements when clicking on the top/bottom bar
...
Ideally clicking anywhere should show the UI, but that doesn't seem to
be working. With this at least clicking on the top/bottom bar will show
the UI.
2020-07-27 12:43:40 +02:00
b6e8f7a883
FocusMode: Do not accept inputs on the hidden elements
...
Setting the opacity to 0 doesn't meant we cannot interact with them.
2020-07-27 12:32:11 +02:00
175bf85531
Save zenMode in settings
...
That way we don't need to toggle it each time.
Maybe it would be nice to have this exposed via the settings as well,
per editor. So I could enable it / disable it per editor.
2020-07-27 10:08:17 +02:00
3996a9163b
Change Zen Mode text
...
Show 'Enable Zen Mode' or 'Disable Zen Mode' instead of just the toggle.
2020-07-27 09:49:24 +02:00
571c219711
Move EditorScaffold to its own file
2020-07-27 09:44:36 +02:00