Commit graph

15 commits

Author SHA1 Message Date
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
5fccffc4b6
feat: add Cursor.within predicate function 2025-11-03 18:29:32 +01:00
1d1d828097
fix: move cursor to the beginning of an egc in Cursor.clamp_to_buffer
closes #317
2025-11-03 16:25:22 +01:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
fda9338a06
fix: clamp to end of last line if the cursor is past the end of the buffer
closes #289
2025-09-09 09:24:18 +02:00
831607ffd6
fix: nudge_delete should handle cursor moving to same line as delete
closes #265
2025-06-03 23:53:12 +02:00
67c386d5b7
refactor: add Cursor.egc_at helper function 2025-03-04 19:05:07 +01:00
e285099253
refactor: fix spelling of egc_at function 2025-03-04 18:50:38 +01:00
100640beaf
fix(editor): update cursor target column after nudge_insert/_delete 2025-02-06 21:12:24 +01:00
João Pedro
a21f0e6ac5 Fix half and whole page movements 2025-01-10 22:34:42 +01: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
9371ee2963 fix: crash on move_page_down if file size is exactly view size 2024-06-05 21:13:58 +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
Renamed from src/Cursor.zig (Browse further)