Commit graph

2629 commits

Author SHA1 Message Date
6ef5ea1336
feat: add keybindings for goto_next_change & goto_prev_change 2026-01-13 18:32:38 +01:00
276b351d61
refactor: use plain bar for modifications in diff gutter 2026-01-13 18:30:01 +01:00
1fbd09387e
feat: implement proper line diffing for diff gutter 2026-01-13 18:20:51 +01:00
ce9246374c
Revert "refactor: render gutter diffs only as insert or delete"
This reverts commit a6b78397bf.
2026-01-13 16:33:16 +01:00
3531ecf367
refactor: call diffz diffCleanupSemantic to produce better diffs 2026-01-13 16:30:37 +01:00
a6b78397bf
refactor: render gutter diffs only as insert or delete 2026-01-13 16:21:38 +01:00
2d5288aa6f
refactor: remove unused error return in Plane.put_yx and Plane.cursor_move_yx 2026-01-13 16:19:47 +01:00
52dfc1e706
fix: broken cursor movement in cursor_move_yx causes info view to miss render 2026-01-13 16:17:15 +01:00
cf28e27a81
refactor: add diffz support and use it for gutter diffs 2026-01-13 16:14:57 +01:00
1e02d978de
fix: render inserted and changed lines the same in the diff gutter
The diffing algo is unstable which causes the diff gutter to change
a lot while typing. This is a little annoying and not that useful so
we'll just render them the same until we get a stable diff algo.
2026-01-13 12:44:41 +01:00
25d5f80a4c
refactor: drop all c_(u)int usage in Plane
The use of c_int and c_uint comes from the days when flow supported
building agains notcurses has a c API.
2026-01-13 12:44:40 +01:00
35be98f95c
fix: Make absolute Plane writing functions update column correctly
Writing to an absolute plane position should update the plane's cursor
position before incrementing it even if it is not actually used.

closes #446
2026-01-13 12:44:40 +01:00
b52091fe34
fix: prevent crash from bad input state when overlay mode is not found
closes #450
2026-01-12 22:12:24 +01:00
4273ab790c
feat: cancel inline completion with backspace
closes #447
2026-01-12 19:33:37 +01:00
da942fe640
refactor: make delete_word_left less greedy at beginning of line 2026-01-12 19:16:13 +01:00
7dab15da20
refactor: merge loops in completion_palette.load_entries 2026-01-12 19:16:01 +01:00
93bfc70171
refactor: merge loops in completion_dropdown.load_entries 2026-01-12 18:19:04 +01:00
eb1b0b7b7a
fix: remove nonsense skipValue call in symbol tags handling
closes #454
2026-01-12 17:04:26 +01:00
cf3648ce80
refactor: improve send_symbol error reporting 2026-01-12 17:02:36 +01:00
bfd98c3b90
fix: use byte postion instead of column offset in highlight references requests
closes #451
2026-01-12 16:35:31 +01:00
e61d0f42b8
refactor: drop line_number_mode broadcast messages 2026-01-12 16:29:25 +01:00
6a6fb11c8e
refactor: send highlight references to correct editor for file path 2026-01-12 16:23:44 +01:00
021dfa8d4c
refactor: send file path in highlight reference messages 2026-01-12 16:23:44 +01:00
xdBronch
6a2228e19d fix documentHighlight missing references 2026-01-12 16:23:16 +01:00
9b2edba3b4
fix: focus editor on gutter click events 2026-01-06 19:22:58 +01:00
c1200ac5bd
refactor: make Widget.get method const 2026-01-06 19:22:24 +01:00
902fc0ab75
refactor: pass gutter scroll events directly to related editor 2026-01-06 19:17:25 +01:00
f7f227dd82
refactor: broadcast line numbering mode and style changes to all splits 2026-01-06 18:33:42 +01:00
63275963b5
refactor: add more split keybindings 2026-01-06 18:31:44 +01:00
0abd35b1f4
refactor: remove spammy trigger debug log messages 2026-01-05 12:11:11 +01:00
Ian Johnson
e39a118c70 fix: handle absolute file paths in open file prompt 2025-12-28 22:31:23 +01:00
eae28536d2
fix: windows build 2025-12-28 22:23:44 +01:00
85f5e5ab2e
fix: don't encode file URI colons 2025-12-28 22:21:45 +01:00
0e3f7c8c1c
fix: convert file paths returned by git on windows 2025-12-28 22:20:41 +01:00
865ec97c16
refactor: unify URI to file path decoding in one location 2025-12-28 22:12:03 +01:00
dc0d5dda80
fix: Never walk into AppData as that is likely not useful
closes #438
2025-12-28 22:02:22 +01:00
0a8a8188cd
fix: correctly encode file URIs in LSP requests
closes #436
2025-12-28 21:46:59 +01:00
1be41aff8b
fix: don't use with_selection_const in primary_drag
with_selection_const destroys the selection on movement errors.

closes #406
2025-12-28 21:20:58 +01:00
1685b3204c
fix: don't allow triple click to fail if select_line_at_cursor fails 2025-12-28 21:18:46 +01:00
3de4a47123
fix: don't allow double click to fail if select_word_at_cursor fails 2025-12-28 21:18:18 +01:00
e23d35b8c7
refactor: simplify Editor.select_word_at_cursor 2025-12-28 21:17:30 +01:00
38948cf492
fix: prefer "same file" error over "save as would overwrite unsaved changes" in save_as 2025-12-28 20:55:47 +01:00
7f88381eb0
refactor: prefer Selection.is_reversed to Cursor.right_of 2025-12-28 20:55:14 +01:00
182011059d
refactor: add explicit error types to Editor.buf_* functions 2025-12-28 20:54:24 +01:00
57458dff5d
fix: do not log unsupported LSP requests unless lsp_output is verbose
closes #434
2025-12-28 20:08:55 +01:00
3886427582
fix: unicode symbol rendering in symbol palette 2025-12-27 21:45:45 +01:00
6187bc5191
fix: typo in render_symbol 2025-12-27 21:04:10 +01:00
44b323d3dd
fix: symbol match rendering for unicode symbols 2025-12-26 23:51:11 +01:00
17bb0e96fe
refactor: remove log message from symbols request
This information is in the palette anyway.
2025-12-26 23:00:17 +01:00
34a41e72f8
fix: clamp cursor with panel offset before completion 2025-12-26 22:48:59 +01:00