Commit graph

2701 commits

Author SHA1 Message Date
67a6d01291
fix: always run highlight references if configured 2026-01-15 23:16:25 +01:00
82f9429e3c
fix: highlight references only when the lsp is finished sending them 2026-01-15 22:56:54 +01:00
08f47edd6a
fix: cursor hiding when primary terminal cursor is offscreen
We now change it's color and hide it in the bottom right corner
to avoid hiding secondary cursors.
2026-01-15 22:43:16 +01:00
48c42737a6
fix: don't skip tab updates while dragging 2026-01-15 22:07:34 +01:00
e9a67d4c71
refactor: make Widget.hover const 2026-01-15 20:45:37 +01:00
a4b80377c1
fix: tabbar initial render 2026-01-15 20:30:13 +01:00
a632305a6f
refactor: tab rendering 2026-01-15 20:12:17 +01:00
8c6091c419
fix: only update tabbar widgets if buffers have changed 2026-01-15 19:53:40 +01:00
ff38c37df7
refactor: make tab bar split aware 2026-01-15 17:56:08 +01:00
120a9f0bf5
fix: don't clear_hover_focus in refresh_hover
This causes an endless render loop because the hover status
ping pongs. This was probably originally added to avoid dangling
widget pointers. We handle that correctly now elsewhere with
is_live_widget_ptr.
2026-01-15 17:53:26 +01:00
8cfab31104
refactor: add tracing for update_hover, clear_hover_focus and refresh_hover 2026-01-15 17:53:12 +01:00
9d016527f2
refactor: add tracing of frame_clock_running 2026-01-15 17:51:39 +01:00
ef60a95d55
refactor: add widget call stack tracing for render continuations 2026-01-15 17:51:38 +01:00
c3cf5ea02f
refactor: add source location tracing for need_render calls 2026-01-15 17:51:38 +01:00
58bd1fe12a
refactor: add tui.get_drag_source 2026-01-15 17:51:38 +01:00
760d498f53
refactor: allow updating full drag context 2026-01-15 15:45:55 +01:00
998ee051ba
refactor: simplify tui.drag_button type 2026-01-15 15:45:32 +01:00
ba86f34669
fix: don't render for all plain mouse move events 2026-01-15 15:16:38 +01:00
7c19236fa6
fix: unrendered_input_events_count should reset on render 2026-01-15 15:16:12 +01:00
02c297d202
fix: only render terminal cursors in focused editors 2026-01-15 13:00:21 +01:00
5f25c85f93
feat: indicate home screen focus by (un)selecting menu 2026-01-15 12:21:45 +01:00
4a545beb99
fix: set home screen focus on mouse events 2026-01-15 12:17:31 +01:00
cb1797d98c
feat: add option to align inline diagnostics to the left
closes #456
2026-01-15 12:06:48 +01:00
1b9e01671a
fix: don't disable primary terminal cursor when offscreen
Disabling the primary cursor when offscreen will also disable secondary
cursors when kitty's multi-cursor support is enabled. So instead we move
the primary cursor offscreen.
2026-01-15 11:59:22 +01:00
7b1f6c898d
fix: trigger completions also on inserts that end in a trigger char 2026-01-15 10:38:20 +01:00
dcc196bf25
fix: do not trigger completion if no completions are available
closes #455
2026-01-15 10:21:43 +01:00
cfd3d3db16
fix: home screen centering calculation 2026-01-15 10:11:02 +01:00
65f65842a2
feat: open_file in split with shift+enter 2026-01-14 21:39:34 +01:00
43dca7e2e8
refactor: add file_browser alternate select mode 2026-01-14 21:39:28 +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
d3ae5e0e09
fix: reset input mode when focusing views 2026-01-14 20:50:15 +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
51b2509f22
refactor: drop late diff responses 2026-01-14 20:19:46 +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
94e6965ad0
refactor: add Buffer.last_view field 2026-01-14 20:15:59 +01:00
b1cf854ed4
fix: location_update should use editor that generated the event 2026-01-14 19:54:25 +01:00
bad1ededc1
fix: handle filter output only in editors with a filter running
Not a perfect solution because filters could theoretically be running
in multiple editors at once. But for now it a least fixes things for
splits without forcing a full filter code re-write.
2026-01-14 18:11:18 +01:00
ea2b2f7b19
feat: navigate_split_vertical on shift+enter in buffer palette 2026-01-14 17:47:46 +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
de28f2d931
refactor: move fast/alt/jump mode control to tui for better cross split support 2026-01-14 14:42:54 +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
79ec85de22
fix: allow idle_actions to run in all open splits 2026-01-14 14:18:59 +01:00