Commit Graph

453 Commits

Author SHA1 Message Date
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
ca38f9f932 Fix link
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-07-24 16:46:09 +02:00
f384280679 Fix typo and grammar in documentation. 2024-07-24 16:42:34 +02:00
c7f68567fc Add instructions about the global hotkey in Wayland. Refactor Linux documentation. 2024-07-24 16:42:34 +02:00
372ce351b4 Improve handling of global hotkey in Linux. 2024-07-24 16:42:34 +02:00
633ea633b9 Bump version to 1.8.0 v1.8.0 2024-07-14 15:39:25 +02:00
a870f5c51b Add feature list to documentation 2024-07-14 14:56:49 +02:00
a4c1ee980d Add Vue to supported languages list in README 2024-07-14 14:55:26 +02:00
25364ec7e7 Bump version to 1.8.0-beta.3 v1.8.0-beta.3 2024-07-14 14:52:10 +02:00
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
971f406720 Bump version to 1.8.0-beta.2 v1.8.0-beta.2 2024-07-14 13:26:52 +02:00
8e24fe9e98 Move Math blocks' format and toLocaleString() example from README into docs/ 2024-07-14 13:17:16 +02:00
e84b36273a Merge branch 'main' into patch-1 2024-07-14 13:16:15 +02:00
6363422585 Merge branch 'main' into support-dart-syntax
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-07-14 12:51:14 +02:00
6ec20ee873 Guesslang does not support Vue 2024-07-14 12:45:35 +02:00
c870a48a7e build grammar 2024-07-14 12:45:35 +02:00
f9c841d19e add vue language support 2024-07-14 12:45:35 +02:00
0aaf62925f Add test for custom default block language 2024-07-14 12:19:29 +02:00
d82b3920d7 Add setting for configuring the default block language and language auto detection 2024-07-14 12:19:29 +02:00
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
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
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
e8971a6733 Add default redo cmd that works on all Platforms. Mod+Shift+Z 2024-07-08 22:58:18 +02:00
a6746167d6 Bump version to 1.8.0-beta v1.8.0-beta 2024-07-08 14:59:10 +02:00
417394f059 Add link to documentation to the top of the Readme 2024-07-08 14:52:00 +02:00
d6420e65e8 Add links to documentation in Readme 2024-07-08 14:48:45 +02:00
4890cd6a6b Add menu item to Help menu that opens documentation page 2024-07-08 14:14:21 +02:00
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
bc3a9b66a1 Add test that ensures that getBlocksFromSyntaxTree() and getBlocksFromString() functions produces the same results 2024-07-07 22:05:33 +02:00
016422e7db Update imports so that that they also work in playwright tests 2024-07-07 22:05:33 +02:00
a5252e12c4 Update prettier to latest version 2024-07-07 22:05:33 +02:00
9bcf03d00c Typo 2024-07-07 22:05:33 +02:00
c3892163af Remove timeout parameter for getBlocksFromSyntaxTree() since we now expect the syntax tree to already be available. 2024-07-07 22:05:33 +02:00
29d4eb26cc Optimize block parsing when syntax tree isn't available.
If the syntax tree isn't available, use String.indexOf to parse the blocks.
2024-07-07 22:05:33 +02:00
48a29c7552 Bump version to 1.7.1 v1.7.1 2024-07-02 19:00:34 +02:00
11df8ea864 Bump version to 1.7.1-beta v1.7.1-beta 2024-06-30 14:18:57 +02:00
387c842d63 Upgrade to latest version of Electron 2024-06-30 14:18:57 +02:00
d943fc8015 Support Dart Syntax 2024-06-12 07:47:45 +02:00
78e2bb2ec3 Add link to website and logo
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-03-25 13:29:23 +01:00
93e805152e Add .webmanifest to web app 2024-02-26 18:22:52 +01:00
302ed1a0b8 Fix language 2024-02-16 11:04:57 -03:00
b368810ecc Document how to format number with local
Relates to #201
2024-02-16 11:03:35 -03:00
387ef33f94 Bump version to 1.7.0 v1.7.0 2024-02-12 03:06:22 +01:00
d2b6641799 Bump version to 1.7.0-beta.2 v1.7.0-beta.2 2024-02-09 16:09:12 +01:00
2f22951e9f Add "Always on top" setting which makes Heynote stay on top of other programs 2024-02-09 16:07:27 +01:00
a7e0f53c35 Avoid code duplication by auto building the GUESSLANG_LANGUAGES list in langdetect-worker.js from the src/editor/languages.js:LANGUAGES list. 2024-02-09 16:02:07 +01:00
d591d7ddb1 Add PowerShell language mode 2024-02-09 16:02:07 +01:00
9e3fc5e8e6 Add Diff language mode 2024-02-09 16:02:07 +01:00
30d6e4d3fb Bump vite from 4.5.1 to 4.5.2
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 14:31:06 +01:00
f088c37061 Bump version to 1.7.0-beta v1.7.0-beta 2024-02-08 14:25:59 +01:00