Commit graph

291 commits

Author SHA1 Message Date
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
9fb9b45c4d
fix: error.InvalidSwapTabsArgument when using save as on an ephemeral buffer 2026-01-31 20:49:53 +01:00
d4eb0d046c
refactor: fix completion updates 2026-01-30 13:22:47 +01:00
94aa462a8d
refactor: allow updating of completions 2026-01-29 20:59:49 +01:00
2609ce4fbc
refactor: remove obsolete json config file writing support
json config files can still be read, but no longer written.
2026-01-27 17:39:24 +01:00
ab8d317bbc feat: add toggle_inline_vcs_blame command 2026-01-26 22:31:18 +01:00
7d1809ba57 refactor: switch git blame to incremental output mode
Also, move blame parser and related structures to a new module VcsBlame.

This includes a full parser re-write to take advantage of the slightly
more efficient incremental output format.
2026-01-26 22:31:18 +01:00
Miguel Granero
90a817066a feat: add git blame with inline display (wip) 2026-01-26 22:31:18 +01:00
c334a0e1ee
fix: force normalization of all paths on windows
closes #442
2026-01-22 17:33:10 +01:00
6d86807e21
refactor: improve type safety of Buffer.Ref values in messages 2026-01-22 15:12:57 +01:00
9b02a8f6e9
refactor: use enum type for buffer references 2026-01-22 14:32:44 +01:00
03c6e4def0
feat: add show_bottom_bar_grip config option 2026-01-22 13:29:35 +01:00
faecc90159
refactor: reduce code duplication in close_split/view functions 2026-01-21 23:22:50 +01:00
6c478a97a0
fix: close the correct view when last tab in view is closed 2026-01-20 21:52:58 +01:00
6ce8a2f61d
refactor: try to prevent dangling splits 2026-01-20 21:13:44 +01:00
4f68898f96
refactor: create a split when moving a tab past the last right split 2026-01-20 21:12:47 +01:00
7e8f06396e
refactor: force update tabbar when adding or removing splits 2026-01-20 20:51:23 +01:00
a532665afb
fix: make create_scratch_buffer work correctly across splits 2026-01-20 16:16:32 +01:00
f34285d2aa
fix: properly handle closing editors in unfocused splits 2026-01-20 14:42:50 +01:00
0992f08a94
refactor: clean-up some unused stuff 2026-01-20 14:42:25 +01:00
abe15a973d
refactor: add mainview get_active_view and get_view_count functions 2026-01-20 13:36:40 +01:00
768032d3ea
fix: improve movement of tabs
This switches to movement semantics for tab dragging and moving.
Previously we switched tabs, which was confusing and a little buggy.

closes #459
2026-01-19 22:45:38 +01:00
c3cf5ea02f
refactor: add source location tracing for need_render calls 2026-01-15 17:51:38 +01:00
dcc196bf25
fix: do not trigger completion if no completions are available
closes #455
2026-01-15 10:21:43 +01:00
bfefe2f99d
fix: reset buffer.last_view when removing splits 2026-01-14 21:31:02 +01:00
29e8b4293d
fix: close splits when changing projects 2026-01-14 21:27:20 +01:00
725a66e4e2
feat: add close_splits command 2026-01-14 21:27:09 +01:00
69fec437f1
refactor: restore splits from session 2026-01-14 21:26:32 +01:00
5dbd396365
refactor: make get_next_mru_buffer_for_view more versatile 2026-01-14 21:01:35 +01:00
86a516630e
fix: clean-up empty splits when closing buffers 2026-01-14 20:41:49 +01:00
cf7c54aa63
refactor: make get_next_mru_buffer prefer buffers from current split 2026-01-14 20:30:32 +01:00
36e441e762
refactor: load buffers into the last view used for them 2026-01-14 20:17:02 +01:00
1263d3c9e8
refactor: update Buffer.last_view when navigating 2026-01-14 20:16:37 +01:00
b1cf854ed4
fix: location_update should use editor that generated the event 2026-01-14 19:54:25 +01:00
20b5711fbb
refactor: broadcast trigger character updates to all editors 2026-01-14 17:39:59 +01:00
312ea000b8
refactor: handle editor events per editor in mainview 2026-01-14 17:39:30 +01:00
e421944251
refactor: replace many instances of get_active_editor with get_editor_for_file/buffer
This fixes many issues with splits.
2026-01-14 17:38:28 +01:00
7f85099ba1
refactor: remove mainview.active_editor member
active_editor was getting out of sync with the currently active split
and it is likely an over optimization anyway.
2026-01-14 14:24:08 +01:00
5362966a59
fix: do not auto_find if the selection is already a match 2026-01-14 12:57:06 +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
c1200ac5bd
refactor: make Widget.get method const 2026-01-06 19:22:24 +01:00
f7f227dd82
refactor: broadcast line numbering mode and style changes to all splits 2026-01-06 18:33:42 +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
fc50a4ebcd
refactor: add mainview.is_any_panel_view_showing and get_panel_height 2025-12-26 22:48:30 +01:00
3dcdb64f83
feat: configure editor completion triggers from LSP info 2025-12-26 16:02:25 +01:00
4f737e4019
refactor: add lsp_info to mainview 2025-12-26 14:25:03 +01:00
3a61bb2ae9
feat: implement inline completion mode with a dropdown overlay 2025-12-18 20:34:28 +01:00
3c9cf07f9d
fix: avoid spamming the differ on every vcs_content frame 2025-12-17 22:32:57 +01:00