ZIm/crates/vim/src/normal
Dino ed7c55a04e
vim: Reset search range after substitute (#28403)
Update the `Vim::replace_command` method so as to reset the range in the
`BufferSearchBar` after running the replacement in order to fix the
issue where the number of matches in the search bar would be incorrect
after the replacement was done, as it would only take into consideration
the range in which the replacement happened, instead of the whole
buffer.

In order to get this working a new
`BufferSearchBar::clear_search_within_ranges` method is introduced in
these changes.

Release Notes:

- Fixed the number of matches displayed in the search bar after running
vim's substitute command.
2025-04-09 20:43:53 -06:00
..
change.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
convert.rs vim: Add g? convert to Rot13/Rot47 (#27824) 2025-04-02 02:17:00 +00:00
delete.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
increment.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
mark.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
paste.rs Switch back to the default mode after paste (#28304) 2025-04-08 09:03:55 -06:00
repeat.rs Fix bad unicode calculations in do_completion (#28259) 2025-04-07 22:45:29 +00:00
scroll.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
search.rs vim: Reset search range after substitute (#28403) 2025-04-09 20:43:53 -06:00
substitute.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
toggle_comments.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
yank.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00