7ab1480f29
refactor: add log message when enabling or disabling format on save
2026-02-02 17:34:30 +01:00
44356e5d30
fix: forward focus_in/_out events to all mainview widgets
2026-02-02 17:20:12 +01:00
c9dc713537
refactor: display regular tab save state icon in auto_save_mode on_focus_change
...
As on_focus_change does not save really often the icon showing the save state
may still be very usefull.
2026-02-02 17:20:12 +01:00
6312d44d15
refactor: display regular file state icon in auto_save_mode on_focus_change
...
As on_focus_change does not save really often the icon showing the save
state may still be very usefull.
2026-02-02 17:20:12 +01:00
70b60a15fa
feat: add auto_save_mode option with new on_input_idle and on_focus_change modes
...
The original auto_save mode is now called on_document_change. The new
default is on_focus_change.
closes #481
2026-02-02 17:19:40 +01:00
1317de3f72
docs: reflow README.md
2026-02-02 12:13:27 +01:00
377b8ba6b3
refactor: set default reflow_width to 76
...
More in line with flow's documentation and likely a more acceptable
default value.
2026-02-02 12:12:29 +01:00
cdfa463ce7
fix: reflow should add whitespace to line length calculation
2026-02-02 12:11:31 +01:00
7b6e75cc9d
feat: log effective reflow width
2026-02-02 12:11:00 +01:00
919c87e988
fix: ignore blank lines in reflow prefix detection
2026-02-02 11:45:06 +01:00
f55885c48e
fix: ignore/preserve trailing new line in reflow input
2026-02-02 11:44:39 +01:00
934cfcd9e2
fix: reduce default frame_rate back to 60
...
Suspicion user reports of lagginess. A saner default might help avoid
issues on slower systems.
2026-02-01 21:35:51 +01:00
e4ce2fb8e3
fix: crash on long buffer name in filestate widget
...
And in project state restore.
closes #478
2026-02-01 21:26:32 +01:00
0251d783bf
fix: always place at least one word on each line in reflow
2026-02-01 20:48:42 +01:00
4898f02570
feat: store the last used reflow_width in the editor session
2026-02-01 20:35:09 +01:00
ec71a7041b
feat: reflow current line if there is no selection
2026-02-01 20:20:34 +01:00
a3ea183ba1
fix: completion dropdown must dupe completion data
...
Because it might be erased by the next completion response.
closes #477
2026-02-01 20:14:16 +01:00
d07389b8ee
fix: wrong prefix for single line reflows
2026-02-01 20:00:01 +01:00
9c4f30c4ee
fix: reflow width is off by one
2026-02-01 19:52:01 +01:00
9f775c9ec8
feat: add integer arg support to reflow command
2026-02-01 19:51:48 +01:00
4803daec3e
fix: make reflow wrap *before* width limit, not after it
2026-02-01 19:48:03 +01:00
01cbdf8545
fix: every_keystroke completion mode should fallback to automatic when active
...
This prevents `every_keystroke` mode from re-triggering on every keystroke if a completion
suggestions are already available. Instead it will now filter the returned suggestions
normally. This dramatically reduces load on the LSP.
closes #479
2026-02-01 18:12:51 +01:00
f35e522260
refactor: log number of returned completion if log_execution is on
2026-02-01 17:59:29 +01:00
7cf45d5878
refactor: simplify add_completion_done
2026-02-01 17:59:04 +01:00
99e3e6aeae
fix: update_completion should also update completion query text
...
Also, resize dropdown based on new completion suggestions.
2026-02-01 17:57:32 +01:00
97745a992a
fix: refresh inital completion cursor position on re-triggers
2026-02-01 17:56:47 +01:00
e45f2ced71
fix: do not constantly re-trigger completion when already completing
2026-02-01 17:56:07 +01:00
485f06f576
refactor: split up completion_dropdown.handle_event function
2026-02-01 17:02:13 +01:00
281b9e47a1
refactor: add reflow support for markdown list entries
2026-01-31 22:31:16 +01:00
6adc0b5887
feat: add basic reflow command and keybind (alt+q)
2026-01-31 22:11:53 +01:00
9fb9b45c4d
fix: error.InvalidSwapTabsArgument when using save as on an ephemeral buffer
2026-01-31 20:49:53 +01:00
4858821ebb
feat: add configuration options for editor scrolling parameters
2026-01-31 20:21:30 +01:00
Miguel Granero
05959d99be
fix: start diffz parsing with new line
2026-01-30 22:15:40 +01:00
Miguel Granero
705c9b2727
feat: do not show git blame on modified lines
2026-01-30 22:15:40 +01:00
Miguel Granero
674c1b0a83
fix: correct diff parsing for better gutter representation of changes
2026-01-30 22:15:40 +01:00
f65082bea9
fix: make sure completion replacment always reaches at least to the cursor
...
Seems like sometimes LSPs may lag and not include the last entered char in
the selection.
2026-01-30 14:48:02 +01:00
7a3b8e3fce
fix: remove completion de-duplication
...
Now that requests cannot overlap any duplicates are actually from the LSP.
Deduplication was not working correctly for some LSPs so we just remove it
now.
2026-01-30 14:37:13 +01:00
8c8388c0c2
refactor: simplify completion selection functions
2026-01-30 14:20:06 +01:00
afe39f118b
refactor: execute update_completion async
2026-01-30 13:59:58 +01:00
96137de780
refactor: update completions only if query has changed
2026-01-30 13:59:34 +01:00
a21db7b220
refactor: cancel completion if lsp returns no suggestions
2026-01-30 13:58:00 +01:00
29ac7849c7
refactor: move get_replacement_selection to completion_dropdown
2026-01-30 13:55:23 +01:00
d4eb0d046c
refactor: fix completion updates
2026-01-30 13:22:47 +01:00
b314a4c8c0
refactor: just sort completion list instead of filtering it
...
Also, fix sorting order of equally ranked entries.
2026-01-30 11:22:49 +01:00
518af3ab45
refactor: major re-work of completion to edit via buffer instead of query
...
This means completion no longer changes the buffer in anyway until a
completion menu entry is actually selected. This simplifies (or eliminates)
many edge cases and greatly improves multi-cursor support.
2026-01-30 11:20:48 +01:00
211648b2c9
refactor: add some more explicit error handling to Editor.copy_selection
...
This removes NoSpaceLeft as a possible error case, which should be impossible.
2026-01-30 09:14:28 +01:00
94aa462a8d
refactor: allow updating of completions
2026-01-29 20:59:49 +01:00
725862a394
feat: add toggle_inline_vcs_blame keybind
2026-01-29 16:01:46 +01:00
38e681f7bf
fix: apply completion de-duplication fix to completion_palette too
2026-01-29 16:01:20 +01:00
4847a1f584
feat: add support for absolute paths to LSP and formatter binaries
...
Also, refactor binary resolving functions into the bin_path module.
closes #474
2026-01-29 15:28:52 +01:00