You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-term/tests/test
Frojdholm 4c9f144dac
fix: Recalculate completion when going through prompt history (#3193)
* fix: Recalculate completion when going through prompt history

* Update completion when the prompt line is changed

It should not be possible to update the line without also updating the
completion since the completion holds an index into the line.

* Fix Prompt::with_line recalculate completion

with_line was the last function where recalculate completion had to be
done manually. This function now also recalculates the completion so
that it's impossible to forget.

* Exit selection when recalculating completion

Keeping the selection index when the completion has been recalculated
doesn't make sense. This clears the selection automatically, removing
most needs to manually clear it.

* Remove &mut on save_filter

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2 years ago
..
auto_indent.rs rename test helpers 2 years ago
auto_pairs.rs rename test helpers 2 years ago
commands.rs Fix backwards selection duplication widening bug (#2945) 2 years ago
helpers.rs factor new Application with file arg to function 2 years ago
movement.rs factor new Application with file arg to function 2 years ago
prompt.rs fix: Recalculate completion when going through prompt history (#3193) 2 years ago
write.rs replace phrase in tests 2 years ago