editor: Fix highlight and selection overlap causing flicker while selecting (#40168)

Regressed in https://github.com/zed-industries/zed/pull/39857, only on
Nightly.

Release Notes:

- N/A
This commit is contained in:
Smit Barmase
2025-10-14 16:05:21 +05:30
committed by GitHub
parent c61429e166
commit d4cc4f8ca7
+1
View File
@@ -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