diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 01dd446bed..3767c863b1 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -7001,6 +7001,7 @@ impl Editor { ) else { return Vec::default(); }; + let query_range = query_range.to_anchors(&multi_buffer_snapshot); for (buffer_snapshot, search_range, excerpt_id) in buffer_ranges { match_ranges.extend( regex