ae9228f65e
Use super.key
...
Makes the code a bit more readable.
2022-08-25 11:32:25 +02:00
e6a24f8897
Fix note renaming to change editor type
2022-01-14 17:34:19 +01:00
a6eb613b5a
Fix note renaming
2022-01-14 17:09:41 +01:00
5535c269e4
NoteEditor: Only give a max width to the editor
...
Not the AppBar or the Bottom bars.
2021-11-07 17:16:55 +01:00
60be22e901
Editors: Move search code into a common file
...
It needs to be shared with the other editors
2021-09-30 12:44:25 +02:00
04cb4822ca
FindInNote: Improve scrolling
2021-09-30 12:26:25 +02:00
afc6199b67
FindInNote: Implement scrolling to result
...
This is the first attempt and it's clearly buggy, but it's something!
2021-09-29 18:39:12 +02:00
a57b63872e
FindInNote: Disable icons when not clickable
2021-09-29 17:54:03 +02:00
714ce31928
MarkdownEditor: Highlight matches in 'Find In Note'
2021-09-29 10:08:33 +02:00
2950b844b1
Find In Note: Show/Hide the search menu
2021-09-29 09:36:41 +02:00
39959bbc5f
findInNote: Some experiments + planning
2021-09-27 23:51:40 +02:00
8818b94701
find wip
2021-09-27 17:39:46 +02:00
d826d0c7fd
[WIP] Editor Search Bar
...
For searching inside a note.
2021-09-27 15:10:24 +02:00
c4ef1f569b
Use flutter_lint
...
Instead of picking lint values. This way I don't need to routinely
looking at extra lints to enable.
2021-09-21 15:42:13 +02:00
5236a2bf31
Start implementing find in note
2021-09-21 14:39:49 +02:00
9899a63ac3
Simplify Note Editors
2021-09-20 13:34:09 +02:00
2357c75a50
NoteEditors: Avoid passing the discardChanges function
...
This should remove a lot of boilerplate from each note editor
2021-09-20 13:18:42 +02:00
33a731a3d7
Add reuse licensing to files in lib
2021-09-15 13:06:43 +02:00
d4a345ea89
Avoid using 'dart:io' wherever possible
...
This gets us one step closer to supporting the web.
2021-07-01 01:46:01 +02:00
9493dba851
Tags AutoCompletion: Null Safety++
2021-05-19 12:39:12 +02:00
d008f0d982
First version of dart migrate
...
Most of the files haven't been migrated. Lets work on this bit by bit
2021-04-10 22:18:35 +02:00
d675177eef
Never let the cursor go < 0
...
Fixes APP-WX
2021-03-02 10:46:03 +01:00
e80fff575c
Move Editor Heuristics to be self contained
...
This way it can easily be used in other editors
2021-02-03 11:56:20 +01:00
b9d765f726
Rename EditorState to TextEditorState
...
Also remove the EditorHeuristicsResult class. This way all of these are
being combined together.
2021-02-02 16:08: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
b9d8a8daa6
FolderView: Implement basic note selection
...
You can delete or share a note using this.
2020-09-07 16:37:51 +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
949a7e6662
Editor: Don't use the BottomAppBar
...
The BottomAppBar has a SafeArea widget inside which seems to give it an
extra top padding on my phone (OnePlus), I'm not sure why it thinks this
extra top padding is required.
Maybe this workaround will fail on other devices
2020-08-15 12:23:43 +02:00
c048ead8a9
Log every feature and how we reach the purchase page
...
We now have a list of all the features that are implemented, and we can
use that to show a kind of feature list which can be used to -
1. Move away from app rental model
2. Showcase a feature list; see WorkingCopy
2020-08-10 16:05:26 +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
e9cc050866
Implement a basic Zen Mode
...
This can be enabled in all the editors.
2020-07-27 09:39:31 +02:00
9d00fdac06
Use import_sorter
...
flutter pub run import_sorter:main --no-comments
The code feels much cleaner
2020-07-24 12:43:28 +02:00
5d7f616c6e
const++
2020-07-21 10:46:03 +02:00
e813edf397
Avoid using deprecated methods
2020-06-01 20:07:28 +02:00
5d4c8ef178
Photo: Ignore photo_access_denied exception
...
Fixes APP-2Y
2020-05-31 02:12:14 +02:00
4208b05bb4
NoteEditor: Only enable 'Discard Changes' option if we have changes
...
Otherwise disable the button.
2020-05-19 00:02:07 +02:00
816cb0c3ed
Reduce code duplication
...
Avoid code for determining the publicName of a folder.
2020-05-18 00:23:14 +02:00
ef57e263ba
ProSettingsOverlay -> ProOverlay
...
Also move it to its own file
2020-05-14 16:10:09 +02:00
08a0c4c21a
Make editing of Tags a pro feature
2020-05-13 01:38:52 +02:00
4375d0cf6d
Add const
2020-05-13 01:21:40 +02:00
2847e3f60f
Add basic tag support
...
This allows you to be modify the tags from the NoteEditor. Related to
#114 . We still need to add some way to filter the notes by tag. Also,
the current tag editor doesn't show the tags from the other notes.
2020-05-13 01:01:40 +02:00
e7cae7b07a
NoteEditor: Convert top drop-down menu to bottom menu
...
It's easier to access from the bottom right as the finger is closer.
2020-05-12 23:18:41 +02:00
86264a15fe
NoteEditor: Convert addIcon to attach icon
...
It's more accurate.
2020-05-12 23:01:25 +02:00
62b5761ec4
Editors: Do not use BottomAppBar in the scaffold property
...
The BottomAppBar when given in the Scaffold gets hidden when the
keyboard is visible. We had hacked around that by translating its
position, however that resulted in the cursor at the bottom being hidden
when we were typing a long note.
It is not just part of the body of the scaffold.
Also converted many functions into widgets.
2020-05-06 15:16:37 +02:00
b26cfe8b81
Avoid mutating the state while building the Editor's bottom bar
...
getNote() mutates the state
2020-05-05 12:33:20 +02:00
b17c184900
Add very basic Image support [Android only]
...
This adds a '+' button to the NoteEditor which allows you to add an
image from either the Gallery or Take a photo. It then accordingly adds
updates markdown.
The file is added in the same directory as the note for now.
Related to #10
2020-05-05 12:02:36 +02:00
d0ab323356
Revert "Editor: Bring back 'Move to Folder' in the dropdown menu"
...
This reverts commit f129f2ac94e825b978f9c735ef2e110e2bfb6664.
2020-05-05 10:21:09 +02:00