Commit Graph

522 Commits

Author SHA1 Message Date
Jonatan Heyman
ceb09fd8aa Dark mode styling of New Note dialog 2024-12-09 12:37:05 +01:00
Jonatan Heyman
ca6b74b35a Add ability to open/close folders in New Note dialog 2024-12-09 12:37:05 +01:00
Jonatan Heyman
0c727feabe Change to non-deprecated syntax for ::v-deep selectors 2024-12-09 12:37:05 +01:00
Jonatan Heyman
43652ccaa9 Use fuzzysort to filter languages 2024-12-09 12:37:05 +01:00
Jonatan Heyman
2f7374cca9 Use fuzzysearch to filter notes in NoteSelector 2024-12-09 12:37:05 +01:00
Jonatan Heyman
edcf33a606 Sort notes in notes selector by how recent they were opened 2024-12-09 12:37:05 +01:00
Jonatan Heyman
5b61a0a234 WIP: Implement ability to create new notes.
Support cache of multiple Editor instances.

Change so that current note name is included in the event data dispatched by emitCursorChange.
2024-12-09 12:37:05 +01:00
Jonatan Heyman
5e34656c1d WIP: Create new node dialog
Implement folder selector UI element.
Retrieve actual folder structure from Notes library.
2024-12-09 12:37:05 +01:00
Jonatan Heyman
9ee66743d7 Pixel push 2024-12-09 12:37:05 +01:00
Jonatan Heyman
4c947f960d Better error message 2024-12-09 12:37:05 +01:00
Jonatan Heyman
ecea69f6bb Place scrollbar for Language selector and Note selector within the list instead of scrolling the whole "screen" 2024-12-09 12:37:05 +01:00
Jonatan Heyman
d01c19fd72 WIP: Implement support for multiple notes
Refactor Vue <-> Editor <-> CodeMirror code.
Introduce Pinia store to keep global state, in order to get rid of a lot of event juggling between Editor class/child components and the root App component.
2024-12-09 12:37:05 +01:00
Jonatan Heyman
c14c700791 Add a way to display error dialogs 2024-12-09 12:37:05 +01:00
Jonatan Heyman
49dd273b92 Fix tests 2024-12-09 12:37:05 +01:00
Jonatan Heyman
769d7eb0fb Throw error if major format version is greater than the currently supported version 2024-12-09 12:37:05 +01:00
Jonatan Heyman
10b6aa198f Add test that checks that existing keys are kept in buffer files' metadata 2024-12-09 12:37:05 +01:00
Jonatan Heyman
1f9be701b3 Fix race condition that could cause the editor to not scroll the cursor(s) into the viewport upon loading 2024-12-09 12:37:05 +01:00
Jonatan Heyman
9ca0fabb71 Add test for saving and restoring cursor positions 2024-12-09 12:37:05 +01:00
Jonatan Heyman
78150c2b70 Fix broken tests 2024-12-09 12:37:05 +01:00
Jonatan Heyman
ec360f5456 Add metadata to the beginning of the serialized buffer.
Store the cursors' positions in the buffer metadata and restore the cursors when loading the buffer content.
2024-12-09 12:37:05 +01:00
Jonatan Heyman
ca38f9f932
Fix link
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-07-24 16:46:09 +02:00
Peter Jaric
f384280679 Fix typo and grammar in documentation. 2024-07-24 16:42:34 +02:00
Peter Jaric
c7f68567fc Add instructions about the global hotkey in Wayland. Refactor Linux documentation. 2024-07-24 16:42:34 +02:00
Peter Jaric
372ce351b4 Improve handling of global hotkey in Linux. 2024-07-24 16:42:34 +02:00
Jonatan Heyman
633ea633b9 Bump version to 1.8.0 2024-07-14 15:39:25 +02:00
Jonatan Heyman
a870f5c51b Add feature list to documentation 2024-07-14 14:56:49 +02:00
Jonatan Heyman
a4c1ee980d Add Vue to supported languages list in README 2024-07-14 14:55:26 +02:00
Jonatan Heyman
25364ec7e7 Bump version to 1.8.0-beta.3 2024-07-14 14:52:10 +02:00
Jonatan Heyman
8626dcc141 Fix error on startup when cursor is moved to the end of a large buffer (caused by the syntaxTree not being parsed in time) 2024-07-14 14:51:15 +02:00
Jonatan Heyman
971f406720 Bump version to 1.8.0-beta.2 2024-07-14 13:26:52 +02:00
Jonatan Heyman
8e24fe9e98 Move Math blocks' format and toLocaleString() example from README into docs/ 2024-07-14 13:17:16 +02:00
Jonatan Heyman
e84b36273a Merge branch 'main' into patch-1 2024-07-14 13:16:15 +02:00
Jonatan Heyman
6363422585
Merge branch 'main' into support-dart-syntax
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-07-14 12:51:14 +02:00
Jonatan Heyman
6ec20ee873 Guesslang does not support Vue 2024-07-14 12:45:35 +02:00
JongwooLee
c870a48a7e build grammar 2024-07-14 12:45:35 +02:00
JongwooLee
f9c841d19e add vue language support 2024-07-14 12:45:35 +02:00
Jonatan Heyman
0aaf62925f Add test for custom default block language 2024-07-14 12:19:29 +02:00
Jonatan Heyman
d82b3920d7 Add setting for configuring the default block language and language auto detection 2024-07-14 12:19:29 +02:00
dependabot[bot]
e5d4d31ca2 Bump ejs from 3.1.9 to 3.1.10
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 15:24:45 +02:00
dependabot[bot]
71f6a033cf Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 15:24:29 +02:00
Jonatan Heyman
f33be7f3a4 Fix bug causing editing to break when there are empty blocks of a language that uses a StreamParser 2024-07-11 14:46:20 +02:00
Cris
e8971a6733 Add default redo cmd that works on all Platforms. Mod+Shift+Z 2024-07-08 22:58:18 +02:00
Jonatan Heyman
a6746167d6 Bump version to 1.8.0-beta 2024-07-08 14:59:10 +02:00
Jonatan Heyman
417394f059 Add link to documentation to the top of the Readme 2024-07-08 14:52:00 +02:00
Jonatan Heyman
d6420e65e8 Add links to documentation in Readme 2024-07-08 14:48:45 +02:00
Jonatan Heyman
4890cd6a6b Add menu item to Help menu that opens documentation page 2024-07-08 14:14:21 +02:00
Jonatan Heyman
478b78780d Add documentation, and update code that injects key bindings to also inject it into the docs 2024-07-08 14:00:18 +02:00
Jonatan Heyman
bc3a9b66a1 Add test that ensures that getBlocksFromSyntaxTree() and getBlocksFromString() functions produces the same results 2024-07-07 22:05:33 +02:00
Jonatan Heyman
016422e7db Update imports so that that they also work in playwright tests 2024-07-07 22:05:33 +02:00
Jonatan Heyman
a5252e12c4 Update prettier to latest version 2024-07-07 22:05:33 +02:00