74e7406034
fix: guarantee progress in find_all_ranges when pattern is shorter than a utf8 sequence
2025-11-26 10:22:04 +01:00
99f9f95dbc
fix: use a partial write capable case folding writer in Buffer.find_all_ranges
...
This fixes case insensitive search. Previously the case folding would fail on
input slices that contain partial utf8 sequences, which is normal in the
buffer write process design. Now these partial utf8 sequences are not consumed
and instead pushed to the next write call where they will be completed from the
main buffer contents.
2025-11-26 09:56:39 +01:00
68b17301cd
refactor: use unchecked Utf8View in utf8 transformation
...
Internally we use only validated utf8 and unchecked performs much better
and reduces unused error values.
2025-11-26 09:33:04 +01:00
2520a37a90
feat: add case auto and case insensitive mode to find
2025-11-25 22:48:11 +01:00
abee93d366
refactor: add unicode.is_lowercase
2025-11-25 22:35:14 +01:00
047409cd29
feat: add find_mode parameter to Editor.find_query
2025-11-25 21:51:23 +01:00
64d95ee009
refactor: move FindMode to Buffer
2025-11-25 21:50:36 +01:00
3ebe68a384
refactor: implement find_all_ranges mode .case_folded
2025-11-25 21:43:12 +01:00
37428bd698
refactor: add unicode.case_folded_write
2025-11-25 21:42:51 +01:00
e35a0555f1
feat: port to_upper and to_lower to uucode
2025-11-25 21:14:59 +01:00
2ff0521040
refactor: move all zg LetterCasing usage to Buffer.unicode
2025-11-25 17:16:53 +01:00
57c5066451
fix: add support for non-authorative file URIs from LSPs (part 2)
2025-11-25 17:16:32 +01:00
6c789b3209
feat: change default theme to something more modern and pretty
2025-11-25 17:16:30 +01:00
86ec27893d
feat: implement case insensitive search (part 1)
2025-11-25 15:53:12 +01:00
679927f8bd
fix: add support for non-authorative file URIs from LSPs
...
This should fix current zls.
2025-11-25 15:48:07 +01:00
bd976e0894
refactor: use Cursor.from_pos in PosToWidthCache.from_pos
2025-11-25 14:45:36 +01:00
ccc92f3ea6
refactor: drop PosToWidthCache from inspector_view
2025-11-25 14:38:39 +01:00
4a0150d68f
refactor: add Cursor.from_pos and Seleciton.from_range
...
And use them to clean-up all root.pos_to_width call sites.
2025-11-25 14:37:05 +01:00
be41027d75
refactor: make Selection.from_pos infallible
2025-11-25 13:32:31 +01:00
34af852634
refactor: remove obsolete Editor.selection_pos_to_width function
2025-11-25 13:30:28 +01:00
f71f984dcd
refactor: make get_rendered_cursor infallible
2025-11-25 13:29:37 +01:00
5d8c44ba76
refactor: make more selection function infallible
2025-11-25 13:28:26 +01:00
5ffd34680e
refactor: make Editor.enable_selection infallible again
...
As a concept, it should not be possible for enable_selection to fail.
Even for inclusive selections. Having enable_selection possibly return
an error introduces lots of complexity that is not useful.
2025-11-25 12:56:45 +01:00
ab3373ab33
fix: add manual restart for win32 console builds and fix restart for win32 gui builds
...
closes #399
2025-11-25 10:39:37 +01:00
b3efc952ee
refactor: report OS error on vaxis.Tty.init failure
2025-11-25 10:17:33 +01:00
f91a702f36
build: sync libvaxis to upstream main branch
2025-11-25 10:14:28 +01:00
a1f296ddde
refactor: tweak restart command description
2025-11-24 13:27:50 +01:00
fbccf13850
feat: add message to home screen when running as root
2025-11-24 13:24:55 +01:00
5bb742fe58
feat: render red lock symbol in modestate when running as root
2025-11-24 13:24:55 +01:00
93be688e6c
feat: add restart_with_sudo command
...
closes #363
2025-11-24 13:24:45 +01:00
51f74e37b8
feat: add restart with sudo capability
2025-11-24 13:03:38 +01:00
8ccdc9654a
refactor: replace buffer input/output test dummy text with less greppable content
2025-11-24 13:03:22 +01:00
b2b34e4710
build: update to libvaxis with uucode support
2025-11-23 21:51:48 +01:00
765a5d2dc7
feat: add results count to generic palette
...
closes #401
2025-11-23 19:36:11 +01:00
23e66d8fe9
feat: add results count to open_recent palette
2025-11-23 19:35:58 +01:00
7993186aeb
refactor: add support for inputbox hints
2025-11-23 19:34:07 +01:00
a65aa237a7
fix: windows build
2025-11-20 10:59:26 +01:00
cc4ac894b3
fix: update libvaxis to fix dragging outside the top and left side of the terminal (negative mouse coordinates)
2025-11-20 10:09:47 +01:00
d08c65818f
fix: bug in scan_next_match causing add_cursor_next_match to fail
2025-11-19 19:14:02 +01:00
9bebebc086
feat: add scrollbar_auto_hide config option
2025-11-19 18:26:23 +01:00
8f873ae3ee
feat: add pane_style config option
2025-11-19 18:25:58 +01:00
395dadf6e3
feat: add option to disable modal dim effect
...
For some terminal themes is cooler to not dim the screen when palettes
are showing.
2025-11-19 17:48:44 +01:00
85c3e7ae7c
fix: unbreak selections_reverse command signature
2025-11-19 13:56:03 +01:00
4da9cee1ee
feat: add flow mode keybinds for expand_/shrink_centered_view (alt+-\=)
2025-11-19 13:49:46 +01:00
4054a399da
feat: add expand_centered_view and shrink_centered_view commands
2025-11-19 13:49:18 +01:00
fc6f2e2cde
fix: center in the middle not top quarter
2025-11-18 23:36:35 +01:00
db8bd0840f
fix: find the closest matching symbol not the largest enclosing symbol
2025-11-18 23:27:59 +01:00
8c0eac80cf
refactor: use a match instead of the primary cursor in symbol_palette
2025-11-18 23:27:34 +01:00
f49d6a7423
refactor: use a match instead of the primary cursor in focus_on_range
2025-11-18 23:26:24 +01:00
f3440d4f83
refactor: make editor.update_scroll_dest_abs public
2025-11-18 23:25:57 +01:00