Commit graph

2971 commits

Author SHA1 Message Date
1cf22db498
fix: reset hover on focus_out events 2026-02-23 21:51:05 +01:00
4cbd8fbde3
fix: prevent endless looping on tab bar widget updates
Now that Widget addresses do not have to be stable we can greatly simplfy
and in the process eliminate the potential for update looping.

The closes #520
2026-02-23 21:48:41 +01:00
cdd6fee9d6
refactor: compare widgets via the .ptr memeber instead of via their addresses
Widget is a handle type. Sort of a smart pointer. Comparing their addresses
is brittle because it requires keeping Widget pointers stable. This is
nonsense because Widget identity is actually determined by the actual
widget object it points to.

This big refactor elimits the requirement that Widget addresses remain
stable to work properly with Widget.walk and Widget.get.
2026-02-23 21:44:24 +01:00
xoxorwr
2266c92eab word left stops before newline when moved from other line 2026-02-22 08:42:21 +01:00
xoxorwr
523f08c281 Move right stops at last character 2026-02-21 23:28:24 +01:00
xoxorwr
2d55a3a843 ctrl+del stops before end of line 2026-02-21 21:50:19 +01:00
634f453e38
feat: update flow-syntax to add syntax highlighting of embedded documents (injections) 2026-02-21 21:32:24 +01:00
cdc026525b
docs: update zon file version tag 2026-02-21 19:31:08 +01:00
xoxorwr
a93b905bdd Add auto_open_panel_for_diagnostics 2026-02-21 17:32:26 +01:00
Ingo Lohmar
3f0578a909 fix: scroll_view_center_cycle no-op in "dead" area, fix bottom scroll offset
Testing for precise rows leads to a "dead" area if cursor row is in topmost
half-screen of a file.  Less strict comparison makes the command useful in
that area as well.
2026-02-21 17:26:38 +01:00
Aleksandar Hornjak
dc4d16b062 fix(vim): paste crash on empty clipboard 2026-02-21 16:42:20 +01:00
eb77164b13
fix: make ignore_alt_text_modifiers actually do what it says 2026-02-20 16:01:07 +01:00
586ec861a9
fix: select file tree node after expanding it 2026-02-19 20:09:51 +01:00
d442769958
refactor: clean-up naming of file_tree_palette.Value.follow_path 2026-02-19 20:08:16 +01:00
7708457bb8
fix: clear file tree filter when expanding a folder 2026-02-19 19:54:35 +01:00
90106e32f0
feat: expand the file tree to the current file when opening 2026-02-19 19:37:11 +01:00
4ec95cbe78
refactor: make file_tree_palette read all files and icons via the project_manager 2026-02-19 16:00:55 +01:00
de8c6eec56
fix: correctly detect that there is no vcs in request_vcs_status 2026-02-19 12:03:47 +01:00
8e2cbce9b0
fix: do not return InvalidVcsStatusRequest if no vcs was detected 2026-02-19 11:13:15 +01:00
620128e6fd
fix: explicitly override close_/save_file in vim normal mode 2026-02-19 10:24:13 +01:00
4287e9a28b
fix: vim visual modes should inherit from normale mode 2026-02-19 10:23:26 +01:00
6d58fa5912
feat: add some space leader bindings to vim home mode by inheriting from project mode 2026-02-19 10:22:53 +01:00
db60fa1686
fix: add command description for goto_line_vim 2026-02-19 09:49:03 +01:00
5bc7f4c2e8
refactor: add more detailed request errors to Project 2026-02-19 09:47:11 +01:00
Paul Graydon
7dc3e531c6 feat: [vim] add <Space> leader key bindings 2026-02-18 23:25:01 +01:00
7e8c4b9bc7
refactor(win32): downgrade unknown virtual key message to debug level 2026-02-18 22:24:45 +01:00
096c13db05
fix(win32): do not ignore altGr modifier in ToUnicode calls 2026-02-18 22:24:45 +01:00
58bc803930
fix(win32): ignore altGr modifiers in win32 console
closes #503
2026-02-18 22:24:45 +01:00
f01b645e41
fix(win32): ignore altGr modifiers in win32 gui 2026-02-18 22:24:24 +01:00
a7c19f3a60
fix: move reflow message to Editor.reflow
We don't want to display the log message when reflow is used internally.
For example by the info_view.
2026-02-18 16:11:52 +01:00
767d3a5bfd
fix: separate mouse and keyboard scrolling commands
So that fast_scroll and alt_scroll modes apply *only* to mouse inputs.

see #507
2026-02-18 14:50:17 +01:00
f11b99b5ad
fix: handle scroll_cursor_min_border_distance values larger than half the view height 2026-02-18 14:27:34 +01:00
4fcde7b861
fix: scroll_cursor_min_border_distance should always be read from config
And fix an off-by-one issue causing the distance at the bottom of the view
to be one line less than the top.

close #506
2026-02-18 14:14:47 +01:00
f4cf15e5c3
fix: add support for building ts_bin_query_gen with llvm
closes #502
2026-02-18 13:46:34 +01:00
fa6f489619
feat: add asm file type 2026-02-16 21:46:07 +01:00
a97356b2a5
refactor: make time_fmt.age_short shorter (like tig) 2026-02-16 21:41:05 +01:00
cb9e57492e
Merge branch 'v0.7' 2026-02-16 15:02:29 +01:00
0f6fd30b26
fix: multi cursor escape sequences confusing terminals that don't support multi cursor
This fixes random `q` characters in termux and possibly other terminals.
2026-02-16 14:57:36 +01:00
a81f5c61d0
refactor: de-duplicate utf8_write_transform & utf8_partial_write_transform 2026-02-15 21:52:58 +01:00
7471848ef2
fix: switch_case does nothing if there are non-cased chars in range 2026-02-15 21:52:29 +01:00
80429f6055
feat: update flow-syntax for objc file type support 2026-02-15 20:29:20 +01:00
36d98dce7c
refactor: simplify symbols palette naming
And give it an icon like the other palettes.
2026-02-14 20:46:29 +01:00
1fd9cdfd7f
refactor: rename file_tree and simplify naming
This makes the file tree palette match the other palettes a little better.
2026-02-14 20:45:13 +01:00
Miguel Granero
018c8c30d8 fix: show closed folder icon when folder is not expanded in the tree view 2026-02-14 19:42:05 +01:00
JailBird
58345339df Add LSP and formatter for perl (PLS and Perl::Tidy) 2026-02-14 18:20:06 +01:00
e109b22038
Merge pull request #494 from migranram/master
feat: add project file explorer widget
2026-02-14 17:57:17 +01:00
af7c97acb9
fix: make sure gen_version is never allowed to fail for release builds 2026-02-14 17:18:11 +01:00
a5b640c00e
fix: use tui.render_file_icon in file tree
This fixes match cell rendering and de-duplicates a bit of code.
2026-02-14 16:22:15 +01:00
eb54d96e87
fix: fallback to theme foreground color for icons in file tree 2026-02-14 13:27:03 +01:00
ab5240fd89
refactor: use commond file browser keybinds for open_project_file_tree 2026-02-14 13:26:38 +01:00