773 Commits

Author SHA1 Message Date
a4bb5918a4 Bump version to 2.4.0 v2.4.0 2025-07-30 01:00:37 +02:00
0946d6572d Retry tests on CI 2025-07-18 23:30:15 +02:00
8eaaea1656 Increase timeouts to make test less flaky 2025-07-18 23:20:25 +02:00
3f21ef45d1 Fix issue with toggle fold command with many single line blocks 2025-07-18 23:20:05 +02:00
e1fadd4336 Try to make test less flaky 2025-07-17 20:40:36 +02:00
a5bb1d72e2 Add timeout to make tests less flaky 2025-07-17 20:14:57 +02:00
57893982f6 Add timeout to make tests less flaky 2025-07-17 20:01:24 +02:00
afe7721f9d Add timeout to make tests less flaky 2025-07-17 15:10:27 +02:00
6b54dc998e Add timeout to make tests less flaky 2025-07-17 14:27:13 +02:00
aa530e3cc1 Temporarily remove retries in CI to trigger errors in flaky tests 2025-07-17 14:12:29 +02:00
fbdb24aa41 Add timeout to make tests less flaky 2025-07-17 14:11:42 +02:00
627f56b996 Merge pull request #368 from heyman/fix-missing-mac-cmd-arrow-keybindings
Add key bindings for Command+ArrowLeft/Right on Mac OS
2025-07-17 09:54:13 +02:00
ec9dff293c Add key bindings for Command+ArrowLeft/Right on Mac OS
Fixes #367
2025-07-17 09:30:29 +02:00
a2d9d87a36 Bump version to 2.4.0-beta.3 v2.4.0-beta.3 2025-07-16 02:36:03 +02:00
d8a8082ff5 Merge pull request #366 from heyman/fix-markdown-block-folding
Remove CodeMirror markdown extension
2025-07-16 02:35:20 +02:00
9fe562d5c6 Remove CodeMirror markdown extension
This fixes an issue when folding a Markdown block with trailing empty lines. We already get syntax highlighting for markdown blocks through the language parser, todo checkboxes from our custom extension, and we still include the keyboard bindings from the markdown extension.
2025-07-16 02:25:09 +02:00
c0e23199bb Bump version to 2.4.0-beta.2 v2.4.0-beta.2 2025-07-10 21:01:41 +02:00
1456dbe8f1 Merge pull request #361 from heyman/fix-atomic-todos
Make todo list checkbox widgets' ranges atomic
2025-07-10 20:54:54 +02:00
e9121f101a Update changelog 2025-07-10 20:44:58 +02:00
68aa9f7faa Make ranges for todo checkbox widgets atomic 2025-07-10 20:44:52 +02:00
f3c285d338 Merge pull request #360 from heyman/fix-todo-checkboxes
Fix issue with incorrect syntax for todo list checkboxes in markdown blocks
2025-07-10 18:43:39 +02:00
2df7137bf0 Fix issue where incorrect todo list syntax in Markdown blocks would still be replaced by checkbox widget 2025-07-10 18:33:29 +02:00
9166f20ca5 Remove commented out code 2025-07-10 18:10:25 +02:00
49806001f2 Prevent search string to overflow buttons in search dialog 2025-07-10 12:01:21 +02:00
7013f39e82 Bump version to 2.4.0-beta v2.4.0-beta 2025-07-10 11:34:05 +02:00
0a4bec8362 Merge pull request #358 from heyman/improved-search
Improve search functionality
2025-07-10 11:29:27 +02:00
17842c80e2 Try to fix tests that are broken on CI/Linux 2025-07-09 23:01:30 +02:00
429da5e64e Revert "Increase wait time to see if it fixes flaky tests"
This reverts commit e8e9fabf2f.
2025-07-09 22:59:48 +02:00
e8e9fabf2f Increase wait time to see if it fixes flaky tests 2025-07-09 22:36:00 +02:00
42aad87a36 Add info about new search functionality to Changelog 2025-07-09 16:32:38 +02:00
b6d74394cb Add tests for (search- and) replace functionality 2025-07-09 16:31:12 +02:00
5ba7a69124 Add tests for selection matching feature
- Test basic selection highlighting with Mod-d command
- Test word expansion when no text is selected
- Test search settings integration (case sensitivity, whole words, within current block)
- Test Mod-Shift-l for selecting all matches
- Test automatic updates when search settings change
2025-07-09 15:35:28 +02:00
18e1f8638a Update background color for selection matches in dark theme 2025-07-09 15:28:50 +02:00
5606068080 Update selection matches immediately when search settings are updated 2025-07-09 15:28:29 +02:00
1dc009cccf Add tests for new search feature
- Test search panel open/close functionality
- Test basic search with match highlighting
- Test "Within Current Block" setting with multi-block content
- Test case sensitivity toggle behavior
- Test whole word matching vs partial matching
- Test regular expression pattern support
- Test search settings persistence across sessions
- Test combined search settings working together
- Test search navigation commands
2025-07-09 14:06:16 +02:00
ebf65123b5 Implement matchHighlighter and findNextOccurrence command that is block aware, and respects the current search settings (current block, case sensitive, whole word) 2025-07-09 11:43:35 +02:00
5a69a2f1de Call search() in toggle handler instead of doing it indirectly via searchParams() and watcher 2025-06-30 17:32:12 +02:00
919bf13a7c Store search settings (onlyCurrentBlock, caseSensitive, wholeWord, regexp) in program settings 2025-06-30 17:22:11 +02:00
f3db5aec1d Add search commands to available commands 2025-06-30 17:02:27 +02:00
0d06c065f5 Select text in input when Find dialog is opened 2025-06-30 17:02:27 +02:00
f5880dc108 Remove empty CSS selectors 2025-06-30 17:02:27 +02:00
ae9c7ca8ad Implement improved block-aware search feature
This includes a fork of @codemirror/search which adds two properties to the SearchQuery class: test() and regexpTest(), which we use to exclude matches within block delimiters, and matches outside of the current block when onlyCurrentBlock is used
2025-06-30 17:02:27 +02:00
a1ee627ea8 Bump version to 2.3.3 v2.3.3 2025-06-30 17:00:44 +02:00
12b894e59c Fix issue toggling the fold gutter setting 2025-06-30 16:59:43 +02:00
0ea0a56cb1 Don't unfold a block when its language changes 2025-06-27 16:59:36 +02:00
0e7d7f7f31 Bump version to 2.3.2 v2.3.2 2025-06-27 15:56:13 +02:00
5b5eecf388 Fix issue with new newlines getting inserted into docs 2025-06-27 15:55:46 +02:00
668e41e647 Add tests for the auto unfolding when typing at the beginning/end of a folded block 2025-06-27 15:47:52 +02:00
a459f612ec Add tests for auto unfolding of blocks 2025-06-27 15:33:45 +02:00
176a88c4f1 Improve folding to be less aggressive with the unfolding
- Make autoUnfoldOnEdit not unfold a block if the change was at the end or start of the folded lines, and there is a block separator (or end/start of doc) immediately after or before the folded lines
- Upgrade to latest version of @codemirror/language to get folding fix (https://discuss.codemirror.net/t/unfold-range-when-deleting-characters-at-the-end-start-of-the-folded-range/9300)
2025-06-27 14:54:57 +02:00