Commit graph

278 commits

Author SHA1 Message Date
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
4d1eaa767b
refactor: notify editors on vcs_content updates 2025-12-17 22:09:14 +01:00
3fb4bd6510
refactor: add mainview.get_editor_for_buffer 2025-12-17 22:06:49 +01:00
6dba3609af
feat: request vcs id and content when opening or restoring files 2025-12-17 21:33:18 +01:00
2a3210a183
refactor: store received vcs_id and vcs_content in buffer 2025-12-17 21:12:02 +01:00
c651dd8c6f
fix: statusbar bug after restarting when no files are open 2025-12-17 20:56:13 +01:00
a9ee5321ac
fix: don't auto_find on a single space
This is rarely useful and feels spammy.
2025-12-16 15:07:30 +01:00
3b24cd11a2 feat: add open_lsp_config_global and open_lsp_config_project commands 2025-12-13 22:34:07 +01:00
f87a9cfb6d
fix: find panels even if the panel widget is not the top widget 2025-12-11 18:47:01 +01:00
e9da2d5cbe
refactor: add keybindview to toggle_panel 2025-12-10 15:59:32 +01:00
e9f51388f7
refactor: show keybindview when started with --show-input 2025-12-10 15:59:09 +01:00
3071c10892
refactor: add toggle_keybindview command and flow mode keybinds 2025-12-10 15:58:35 +01:00
852f456bf0
feat: display symbol documentation in info panel in completion_palette 2025-12-08 16:47:19 +01:00
e85832c0cb
refactor: add mainview.cancel_info_content and make add_info_content public 2025-12-08 16:07:29 +01:00