Commit graph

2730 commits

Author SHA1 Message Date
77379a58cf
refactor: fix previous commit 2026-01-21 12:19:56 +01:00
95735ada9a
refactor: clean-up build script warnings 2026-01-21 12:15:20 +01:00
331538de36
fix: detection of case in find mode should use case folding
It was using is_lowercase, which only returns true for lowercase
alpha characters and not other caseless symbols line numeric digits.

Now we check that case_fold is a no-op instead. This has semantics
that better match user expectations as case folding is also used in
the actual search.

closes #460
2026-01-21 10:13:58 +01:00
ee37dc8730
fix: windows build 2026-01-21 09:39:41 +01:00
6c478a97a0
fix: close the correct view when last tab in view is closed 2026-01-20 21:52:58 +01:00
d600e3c353
refactor: keep tab ordering stable when moving tabs between splits 2026-01-20 21:30:47 +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
531ec11425
refactor: move tab to end of tab bar if dropped on drop target 2026-01-20 20:29:05 +01:00
8dcbed86aa
refactor: add tab bar drop target to allow dropping tabs in other splits 2026-01-20 20:23:48 +01:00
d891af6553
refactor: allow changing the hover mouse cursor for buttons 2026-01-20 20:13:01 +01:00
dac695f010
refactor: add generic renderer.request_mouse_cursor function 2026-01-20 20:12:38 +01:00
a532665afb
fix: make create_scratch_buffer work correctly across splits 2026-01-20 16:16:32 +01:00
dd0e108f76
fix: call create_scratch_buffer syncronously in run_task to improve error handling 2026-01-20 16:15:37 +01:00
a7d4fc5729
refactor: add command.fmtbuf
This is useful for recursive command calling to avoid overwriting the
global command arguments buffer.
2026-01-20 16:13:40 +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
6029c705e6
fix: improve active and focused tab state tracking 2026-01-20 13:48:40 +01:00
95cb63c42a
refactor: render unfocused tabs with style from theme 2026-01-20 13:48:06 +01:00
18f4d9cef3
refactor: add tab bar theme variables for unfocused tabs 2026-01-20 13:46:49 +01:00
abe15a973d
refactor: add mainview get_active_view and get_view_count functions 2026-01-20 13:36:40 +01:00
ad44443bba
build: update themes to add unfocused tab colors 2026-01-20 12:48:44 +01:00
a1fbd9cf7b
fix: navigate to tab after moving it if it was active before move 2026-01-20 10:49:59 +01:00
45a8f008dd
fix: don't hide terminal cursor when an unfocused primary cursor is off screen 2026-01-19 22:58:43 +01:00
933df0cdd5
fix: make select_next_tab and select_previous_tab wrap around again 2026-01-19 22:53:31 +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
6ac7cc5b5c
feat: make expand_selection and shrink_selection multicursor aware 2026-01-16 11:22:42 +01:00
548410f769
fix: scrollbar hover effect 2026-01-16 10:30:30 +01:00
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