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
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
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
db60fa1686
fix: add command description for goto_line_vim
2026-02-19 09:49:03 +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
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
e109b22038
Merge pull request #494 from migranram/master
...
feat: add project file explorer widget
2026-02-14 17:57:17 +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
Miguel Granero
3407efaa49
feat: add colored icons to project file tree viewer
2026-02-14 00:34:47 +01:00
6f9132c3b2
fix: expand_home when detecting file paths in selection
2026-02-13 23:01:15 +01:00
04ee1257b8
refactor: use file_type_config.guess_file_type to get icons
...
Also, normalize folders to use the same icons as in other places in flow.
2026-02-13 22:58:29 +01:00
Miguel Granero
79fc70427c
feat: add project file explorer widget (palette)
2026-02-13 13:26:12 +01:00
fa71704a94
feat: add commit age to git blame info
2026-02-13 12:22:52 +01:00
cdb993ea00
fix: walk tabbar drop_target widgets
...
closes #22
2026-02-12 21:06:06 +01:00
9d6fa68c97
feat: add gutter_width_mode and gutter_width_minimum/maximum config options
2026-02-12 15:29:27 +01:00
0df97f5ad5
feat: add {{blame_commit}} variable for expansion
2026-02-12 14:00:42 +01:00
414668c4cd
refactor: add Editor.get_vcs_blame
2026-02-12 14:00:22 +01:00
ac12252ce1
fix: clip tabs that do not fit in their split
2026-02-12 13:59:20 +01:00
645e0d4e3b
refactor: rename TabBar.splits_list
2026-02-12 12:59:16 +01:00
86856f6631
fix: send splits_updated notification to widgets on project change
2026-02-12 12:26:41 +01:00
a7016f6229
fix: expand/shrink_centered_view should increment in steps of 2
2026-02-11 17:48:11 +01:00
Miguel Granero
1034872e8f
refactor: avoid unnecessary casts
2026-02-11 17:08:36 +01:00
Miguel Granero
d60611deba
refactor: change display style of blame commit summary to a max width
2026-02-11 17:08:36 +01:00
2749dea1b1
feat: add maximum_symlink_depth and log_ignored_links config options
2026-02-11 14:53:18 +01:00
d178c8c2e1
fix: add config option to enable following symlinks to directories (default: false)
2026-02-11 13:05:43 +01:00
4df20c96ca
fix: info boxes should close if the editor view changes
2026-02-07 11:47:52 +01:00
21dc4477f7
feat: add alternate select (shift+enter) to symbols palette that selects the symbol
2026-02-06 16:23:30 +01:00
c0107e32e0
feat: add retain_symlinks option to enable writing files through links (default: true)
2026-02-06 14:04:53 +01:00
195ba1e385
fix: close existing editor if there is one is save_as
2026-02-06 12:56:34 +01:00
9e4d4a00e1
fix: wrap info_view content at info_box_width_limit or screen width
2026-02-05 23:01:19 +01:00
4003ebc12f
fix: prevent info box flicker in auto hover mode
2026-02-05 22:43:19 +01:00
d2081e8d68
feat: add configuration option dropdown_limit to limit completion dropdown size
2026-02-05 22:25:45 +01:00
35563822ba
feat: display info box for hover content in hover_info_mode box mode
2026-02-05 21:42:42 +01:00