Commit graph

236 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
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
090d27d890
refactor: use {t} format specifiers 2025-12-04 14:44:53 +01:00
a1455e8e3d
refactor: move from_client_box and to_client_box to Widget.Box 2025-12-01 15:43:55 +01:00
335f1bedab
fix: some minor typos 2025-11-26 19:13:05 +01:00
34af852634
refactor: remove obsolete Editor.selection_pos_to_width function 2025-11-25 13:30:28 +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
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
bca4dbf777
fix: use after free crash in theme_palette 2025-11-18 20:17:47 +01:00
f9bbb55814
fix: select previous symbol if there is no symbol at the cursor 2025-11-18 20:03:36 +01:00
ae6df9dba8
feat: pre-select symbol at the primary cursor in symbol_palette 2025-11-18 19:59:08 +01:00
fc244eabb6
feat: focus currently selected symbol in symbol_palette instead of going to it 2025-11-18 19:56:17 +01:00
1d06b71102
refactor: move themes palette to top right
To better see what the thmeme looks like for the current screen it
is better to not cover it so much.
2025-11-18 19:39:28 +01:00
0e994e9f25
refactor: disable dimming in theme palette
To better evaluate the themes it is better not to dim.
2025-11-18 19:38:14 +01:00
99e32520ad
fix: disable quick activate in themes palette 2025-11-18 19:36:25 +01:00
53391aa7b5
refactor: limit palette quick activation to first palette_menu_activate_quick event 2025-11-18 19:35:36 +01:00
9597dd7b6d
fix: regression by bad merge in 1600bf6 2025-11-18 19:33:40 +01:00
f26d0534de
fix: reversed logic of palette modal_dim 2025-11-18 19:32:58 +01:00
c8ed34701c
refactor: extract whole symbol range in symbol_palette 2025-11-18 19:02:42 +01:00
310dadb9be
refactor: place .top_right palettes at right edge of centered views 2025-11-18 18:14:30 +01:00
b566612068
refactor: place symbols palette on the right and disable dimming 2025-11-18 18:01:08 +01:00
d5bd31652e
refactor: allow palettes to configure placement 2025-11-18 18:00:37 +01:00