search: Fix buffer search history navigation (#37924)
Closes #36109 Adds an additional option to `search` and `update_matches` to specify whether the update should affect the search history. Release Notes: - Fix navigating buffer search history
This commit is contained in:
@@ -1585,6 +1585,7 @@ impl OnMatchingLines {
|
||||
let _ = search_bar.search(
|
||||
&last_pattern,
|
||||
Some(SearchOptions::REGEX | SearchOptions::CASE_SENSITIVE),
|
||||
false,
|
||||
window,
|
||||
cx,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user