Commit graph

205 commits

Author SHA1 Message Date
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
f7134df47c
refactor: allow palettes to disable dimming 2025-11-18 18:00:01 +01:00
Igor Támara
c61bdd7042 refactor: symbol palette column adjustments 2025-11-18 15:53:49 +01:00
Igor Támara
0fd1cae8df refactor: symbol palette column max width change 2025-11-18 15:53:49 +01:00
1600bf6406
fix: task_palette should use the correct mode hints for width calculations 2025-11-17 20:24:24 +01:00
Igor Támara
6e9e00e142 feat: add symbol palette
The palette intentionally shows narrow to give more prevalence to file
contents and see the context.
2025-11-16 22:56:36 +01:00
e6f0953732
feat: add path segment completion to open_recent palette 2025-11-11 13:26:48 +01:00
6502989fb8
fix: task palette width calculation properly this time 2025-11-10 16:39:45 +01:00
e5d78c95a5
feat: split and navigate on shift+enter in find_file 2025-11-06 19:23:15 +01:00
05a551b5b4
fix: match offset in task_palette 2025-11-06 12:22:27 +01:00
7019d56142
fix: un-cramp empty task list 2025-11-06 12:17:58 +01:00
477e232f19
fix: add back missing space to clipboard palette hints 2025-11-05 20:38:24 +01:00
15b600b570
fix: clipboard_palette does not paste the selected item 2025-11-04 11:42:50 +01:00
4d375d2d9b
feat: add support for groups in clipboard history
This introduces the concept of clipboard history groups. A group is created
for each high level clipboard operation. Cut, copy, etc. Single cursor
operations will create a group with just one entry. Multi-cursor operations
on the other hand will create groups with multiple clipboard history entries.
This makes for very powerful clipboard history integration with multi-cursor
support.

This commit also adds the ability to apply integer parmeters to the paste
command to select a clipboard group to paste.

Also, pasting from the system clipboard will detect if the system clipboard is
equivalent to the top most clipboard group, and if so use the group instead.
This allows much better multi-cursor support when using the system copy & paste
commands.
2025-10-31 22:53:50 +01:00
61de5d89d7
refactor: rename open_changed_files to show_vcs_status
This fits a bit better as we will add commands to do more than just
open the files in the status palette.
2025-10-28 22:21:16 +01:00
Igor Támara
b6010767f2 feat: Add open changed files palette to commands
The palette shows modified and new files for the current project
allowing to open one by one
2025-10-28 22:20:36 +01:00
46def038bd
feat: trip leading whitespace from clipboard history palette display 2025-10-13 20:27:43 +02:00
6c6a8cee32
feat: add byte or line count hint to clipboard history palette 2025-10-13 20:21:05 +02:00
634a18cb56
feat: add clipboard history palette 2025-10-13 19:50:04 +02:00
25a719382f
fix: store button click locations as signed values 2025-10-10 16:05:50 +02:00
ce87dcfa2b
refactor: pass relative click position to button click handlers
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
9ea32d46e2
feat: preparations for additionalTextEdits support in completions 2025-10-02 22:51:01 +02:00
6ec8aae94a
fix: translate byte offsets to columns when applying completions 2025-10-02 16:27:47 +02:00
6ae176a8ac
refactor: add selection_pos_to_width and get_replace_selection functions 2025-10-02 16:27:16 +02:00
778907c513
fix: ignore empty replacement selections for completion 2025-10-02 15:00:00 +02:00
b1e5b2f80f
fix: never set completion selection to an empty range 2025-10-01 22:02:21 +02:00
b02f096fef
feat: set the initial completion query based on the cursor position 2025-10-01 21:55:12 +02:00
74b011cf7e
feat: add support for setting the initial query value in palettes 2025-10-01 21:54:46 +02:00
03c82999b8
feat: select replacement range during completion 2025-10-01 21:28:32 +02:00
3901d0cce5
feat: add support for state values in palettes 2025-10-01 20:50:32 +02:00
720bb9515f
Merge branch 'master' into zig-0.15 2025-09-25 22:04:17 +02:00