Commit graph

1694 commits

Author SHA1 Message Date
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
4a1b206d2b
feat: add Editor.set_hover_content info_box function 2026-02-05 21:42:12 +01:00
ebe59eb0f7
refactor: toggle info_box style instead of panel style if no panel is open 2026-02-05 21:41:22 +01:00
269815dd21
feat: add toggle_hover_info_mode command 2026-02-05 21:41:10 +01:00
bc3f431dee
fix: remove trailing blank lines from info view 2026-02-05 21:40:20 +01:00
aed77322f3
refactor: add spacious bar widget styles 2026-02-05 21:39:50 +01:00
fd798e5775
feat: add toggle_auto_highlight_references and toggle_auto_hover commands 2026-02-05 17:41:58 +01:00
d3b2577338
refactor: drop late filter errors 2026-02-05 17:41:35 +01:00
fa58e09a18
feat: add info box mode support to completion_dropdown 2026-02-05 16:49:34 +01:00
1c2e1ae494
feat: add toggle_completion_info_mode command and keybindings 2026-02-05 16:48:23 +01:00
6280d7d0b4
refactor: add info_box widget style 2026-02-05 16:46:12 +01:00
69f5448f03
refactor: remove unused dropdown.on_render_menu
We always replace this method anyway, so this is all dead code.
2026-02-05 14:56:20 +01:00
147ec6127f
feat: add variable expansions indent_mode and indent_size
Useful for some formatters and/or LSPs.
2026-02-05 09:26:47 +01:00
ee6095ecee
fix: do not cancel completion if the view size changes
Only if the view position changes.
2026-02-04 18:30:02 +01:00