Commit graph

1666 commits

Author SHA1 Message Date
d178c8c2e1
fix: add config option to enable following symlinks to directories (default: false) 2026-02-11 13:05:43 +01:00
4df20c96ca
fix: info boxes should close if the editor view changes 2026-02-07 11:47:52 +01:00
21dc4477f7
feat: add alternate select (shift+enter) to symbols palette that selects the symbol 2026-02-06 16:23:30 +01:00
c0107e32e0
feat: add retain_symlinks option to enable writing files through links (default: true) 2026-02-06 14:04:53 +01:00
195ba1e385
fix: close existing editor if there is one is save_as 2026-02-06 12:56:34 +01:00
9e4d4a00e1
fix: wrap info_view content at info_box_width_limit or screen width 2026-02-05 23:01:19 +01:00
4003ebc12f
fix: prevent info box flicker in auto hover mode 2026-02-05 22:43:19 +01:00
d2081e8d68
feat: add configuration option dropdown_limit to limit completion dropdown size 2026-02-05 22:25:45 +01:00
35563822ba
feat: display info box for hover content in hover_info_mode box mode 2026-02-05 21:42:42 +01:00
4a1b206d2b
feat: add Editor.set_hover_content info_box function 2026-02-05 21:42:12 +01:00
ebe59eb0f7
refactor: toggle info_box style instead of panel style if no panel is open 2026-02-05 21:41:22 +01:00
269815dd21
feat: add toggle_hover_info_mode command 2026-02-05 21:41:10 +01:00
bc3f431dee
fix: remove trailing blank lines from info view 2026-02-05 21:40:20 +01:00
aed77322f3
refactor: add spacious bar widget styles 2026-02-05 21:39:50 +01:00
fd798e5775
feat: add toggle_auto_highlight_references and toggle_auto_hover commands 2026-02-05 17:41:58 +01:00
d3b2577338
refactor: drop late filter errors 2026-02-05 17:41:35 +01:00
fa58e09a18
feat: add info box mode support to completion_dropdown 2026-02-05 16:49:34 +01:00
1c2e1ae494
feat: add toggle_completion_info_mode command and keybindings 2026-02-05 16:48:23 +01:00
6280d7d0b4
refactor: add info_box widget style 2026-02-05 16:46:12 +01:00
69f5448f03
refactor: remove unused dropdown.on_render_menu
We always replace this method anyway, so this is all dead code.
2026-02-05 14:56:20 +01:00
147ec6127f
feat: add variable expansions indent_mode and indent_size
Useful for some formatters and/or LSPs.
2026-02-05 09:26:47 +01:00
ee6095ecee
fix: do not cancel completion if the view size changes
Only if the view position changes.
2026-02-04 18:30:02 +01:00
e26d86eca3
fix: cancel completion on update in automatic completion mode
If completion is automatically triggered (the default), then it also makes
sense to automatically cancel completions in situations where a completion
update would be required and we are *not* expected to automatically
re-trigger.
2026-02-04 16:43:43 +01:00
9c8d5f8aab
fix: use completion specific boundary search to the right for guesing completion range
closes #484
2026-02-04 10:09:38 +01:00
d974d510b1
refactor: rename is_non_word_char 2026-02-04 10:09:16 +01:00
7520289442
fix: always update tab views when splits arrangement has changed
closes #485
2026-02-04 09:54:07 +01:00
cc2aabf7dd
feat: allow moving tabs to empty splits 2026-02-04 09:53:18 +01:00
2d2d8a915b
refactor: make tabs.find_next/previous_tab_buffer also return view 2026-02-03 21:31:47 +01:00
09bb80b268
feat: add more accessible keybinds for key hints overlay
closes #21
2026-02-03 21:01:59 +01:00
75fa4408fa
fix: guess completion insertion range by back scanning for trigger chars or word breaks
closes #484
2026-02-03 19:37:51 +01:00
59de78723e
refactor: import Selection directly into completion_dropdown 2026-02-03 19:26:41 +01:00
87e0e06aaf
fix: refresh hover when menus modify their contents
This fixes hover and scroll in palettes and dropdowns.

close #486
2026-02-03 18:45:44 +01:00
d5166e2f68
fix: override cursor focus rendering during dropdown completion 2026-02-03 16:54:00 +01:00
7c61b2dac6
fix: replace tabs in snippets if we are indenting with spaces 2026-02-03 16:38:37 +01:00
56238c776d
fix: clamp cursor to buffer in indent command 2026-02-03 16:20:47 +01:00
5cf52171f2
fix: use word-at-cursor for inserting completion if LSP does not provide a range
This is not perfect in every situation, but seems to be enough to use basic
completion with LSPs that do not send full insert/replace range
information.

closes #475, #484
2026-02-03 16:15:42 +01:00
d298e1ed4c
fix: don't cancel completions in update_completion
This is not needed anymore.
2026-02-03 15:17:24 +01:00
2296930f4d
fix: re-trigger completion if we run out of suggestion matches 2026-02-03 15:15:58 +01:00
8767dc9dc1
fix: do not set completion refresh pending for duplicate requests 2026-02-03 14:46:12 +01:00
b14ff8ac52
refactor: only count scored dropdown entries as matches 2026-02-03 11:37:06 +01:00
41c1e54cac
refactor: add match_count to overlay/dropdown 2026-02-02 21:56:55 +01:00
152eed7847
refactor: adapt mainview module to Buffer text caching API 2026-02-02 21:35:21 +01:00
23504b62cd
refactor: adapt editor module to Buffer text caching API 2026-02-02 21:34:59 +01:00
7ab1480f29
refactor: add log message when enabling or disabling format on save 2026-02-02 17:34:30 +01:00
44356e5d30
fix: forward focus_in/_out events to all mainview widgets 2026-02-02 17:20:12 +01:00
c9dc713537
refactor: display regular tab save state icon in auto_save_mode on_focus_change
As on_focus_change does not save really often the icon showing the save state
may still be very usefull.
2026-02-02 17:20:12 +01:00
6312d44d15
refactor: display regular file state icon in auto_save_mode on_focus_change
As on_focus_change does not save really often the icon showing the save
state may still be very usefull.
2026-02-02 17:20:12 +01:00
70b60a15fa
feat: add auto_save_mode option with new on_input_idle and on_focus_change modes
The original auto_save mode is now called on_document_change. The new
default is on_focus_change.

closes #481
2026-02-02 17:19:40 +01:00
e4ce2fb8e3
fix: crash on long buffer name in filestate widget
And in project state restore.

closes #478
2026-02-01 21:26:32 +01:00
4898f02570
feat: store the last used reflow_width in the editor session 2026-02-01 20:35:09 +01:00