a5c360a2ec
refactor: completely remove inclusive selection mode
...
Having inclusive mode change a few critical functions behind the sceans
is not a good way to share functionality. Basically every function is
broken in one or the other mode. So we remove it entirely and instead
will rely on different functions for different behaviors.
2025-11-27 17:22:58 +01:00
1671fae685
refactor: add Selection.from_cursor_inclusive
2025-11-27 16:12:38 +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
1f3419ec94
feat: add Selection.merge and Selection.expand functions
2025-11-03 18:29:51 +01:00
65eb6bc7ad
feat: add Selection.from_pos function
2025-10-02 16:22:55 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build
2025-09-25 22:01:29 +02:00
e6e0301a78
feat(buffers): save/restore full editor state on buffer switch
2025-01-29 23:03:34 +01:00
4f5fa4a3ba
feat(keybind): move selection mode into keybind mode configuration
2025-01-19 19:21:44 +01:00
Meredith Oleander
70f0d8bea6
add helix selection internal tweaks
2025-01-19 17:37:36 +01:00
1c5dc9064d
feat(selection): add Selection.is_reversed helper function
2025-01-15 10:12:06 +01:00
bf3fe5f2ba
refactor: run zigimports
...
closes : #38
2024-09-10 22:25:54 +02:00
f06a7b3d6a
refactor(Buffer): rename Metrix to Metrics
...
Metrix was a bit too silly
2024-07-05 20:58:24 +02:00
128182a448
refactor(Buffer): remove Plane dependency in Buffer
2024-07-05 00:33:31 +02:00
1cd3cb17ce
feat: add libvaxis renderer
2024-05-10 12:44:14 +02:00
6bab2e6cda
refactor: move buffer module to a subdirectory
2024-03-02 20:14:48 +01:00