Commit graph

446 commits

Author SHA1 Message Date
8c9146a1c5
fix: replace full completion item correctly in completion_dropdown 2025-12-18 22:30:48 +01:00
3a61bb2ae9
feat: implement inline completion mode with a dropdown overlay 2025-12-18 20:34:28 +01:00
342e7d98c8
refactor: add dropdown overlay type 2025-12-18 20:33:51 +01:00
bf47c00265
refactor: add palette placement mode primary_cursor 2025-12-18 15:25:22 +01:00
8866e27da7
refactor: allow palettes to override widget style 2025-12-18 15:23:59 +01:00
84225983b7
fix: fully reset cursor position and clear matches in find mode 2025-12-17 10:44:17 +01:00
6de60f681f
feat: add initial_find_query config option 2025-12-17 10:34:11 +01:00
f09bbbb7a9
fix: reset cursor to start when clearing find query buffer 2025-12-17 10:01:18 +01:00
0dcf63bd38
feat: make goto in flow select mode select to line 2025-12-16 15:09:58 +01:00
528d57fdf7
fix: palette padding on top_right placement 2025-12-13 18:47:11 +01:00
660449c1c0 refactor: use *std.Io.Writer instead of anytype 2025-12-12 14:25:10 +01:00
99b721febf fix: don't index into utf-8 based on egc width 2025-12-12 14:25:10 +01:00
Igor Támara
99a4fb0936 fix: change len for egc_chunk_width 2025-12-12 14:25:10 +01:00
308f46c8a2
refactor: move LSP types to new module 2025-12-12 13:41:16 +01:00
c87884f924
refactor: remove some obsolete overlay commands 2025-12-10 15:23:22 +01:00
4cb0f7df02
feat: activated selected entry on tab in the completion palette
closes #423
2025-12-10 12:39:23 +01:00
8152de3df9
refactor: prefer completion insertText over newText or label 2025-12-09 19:17:30 +01:00
c71ddb2900
refactor: add newText and insertText to info panel in debug builds 2025-12-09 18:55:47 +01:00
62bc86d2db
refactor: add insertText to completion_palette get_values function 2025-12-09 18:54:04 +01:00
288e23e8b0
fix: completion with no replacements causes OOM 2025-12-09 18:32:41 +01:00
e7118763a1
refactor: remove snippet from info panel 2025-12-08 21:31:24 +01:00
075ec84cf0
refactor: call snippet parser when inserting completion items 2025-12-08 21:18:04 +01:00
cbf26b3b6a
refactor: use a structure for returning completion palette item values 2025-12-08 21:17:02 +01:00
9b33f4cbe3
refactor: remove commented function signature 2025-12-08 18:06:33 +01:00
bacbb47ae8
fix: prevent palettes from ever being larger than the screen 2025-12-08 18:05:09 +01:00
15e96d9136
refactor: add detail to info in completion palette 2025-12-08 18:04:37 +01:00
86d7dd9cc9
refactor: place completion palette top right and undimmed 2025-12-08 17:44:19 +01:00
d86193a9aa
feat: display label_detail and label_description in completion palette 2025-12-08 17:44:06 +01:00
852f456bf0
feat: display symbol documentation in info panel in completion_palette 2025-12-08 16:47:19 +01:00
a10254b77a
feat: add item detail to completion palette 2025-12-07 23:50:02 +01:00
23ac73ec1c
fix: select position in restored open_recent palette 2025-12-06 20:29:30 +01:00
2f77dbb845
refactor: add save/restore functionality to open_recent 2025-12-06 20:16:43 +01:00
58622a5531
feat: implement helix search_selection and add_next_match_helix 2025-12-04 17:47:29 +01:00
791b184583
feat: implement helix keep_primary_selection 2025-12-04 17:11:25 +01:00
090d27d890
refactor: use {t} format specifiers 2025-12-04 14:44:53 +01:00
e3eac7e84b
fix: make helix save command (w) description shorter for better fuzzy matching 2025-12-02 18:46:44 +01:00
6f1806cd95
Revert "Initial attempt to fix prev and next word movement"
This reverts commit 608df1518a.
2025-12-02 13:29:31 +01:00
989557fb6d
Revert "Fixed selection extensions with new helper functions"
This reverts commit 1bae864022.
2025-12-02 13:29:25 +01:00
fd9fa4ee8f
Revert "fix: build fix after rebase/merge"
This reverts commit 423b8c1613.
2025-12-02 13:29:12 +01:00
a1455e8e3d
refactor: move from_client_box and to_client_box to Widget.Box 2025-12-01 15:43:55 +01:00
423b8c1613 fix: build fix after rebase/merge 2025-11-27 12:33:01 +01:00
Jakob Ingvast
1bae864022 Fixed selection extensions with new helper functions 2025-11-27 12:33:01 +01:00
Jakob Ingvast
608df1518a Initial attempt to fix prev and next word movement 2025-11-27 12:33:01 +01:00
335f1bedab
fix: some minor typos 2025-11-26 19:13:05 +01:00
c1707b132e
fix: smart select next find mode if find mode is .auto 2025-11-26 12:52:23 +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
2ff0521040
refactor: move all zg LetterCasing usage to Buffer.unicode 2025-11-25 17:16:53 +01:00
34af852634
refactor: remove obsolete Editor.selection_pos_to_width function 2025-11-25 13:30:28 +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