mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
??
This commit is contained in:
parent
3f11fd3b8b
commit
a8b8003980
1 changed files with 3 additions and 3 deletions
|
@ -618,12 +618,12 @@ impl Element for TerminalElement {
|
|||
|
||||
// searches, highlights to a single range representations
|
||||
let mut relative_highlighted_ranges = Vec::new();
|
||||
for search_match in search_matches {
|
||||
relative_highlighted_ranges.push((search_match, match_color))
|
||||
}
|
||||
if let Some(selection) = selection {
|
||||
relative_highlighted_ranges.push((selection.start..=selection.end, selection_color));
|
||||
}
|
||||
for search_match in search_matches {
|
||||
relative_highlighted_ranges.push((search_match, match_color))
|
||||
}
|
||||
|
||||
// then have that representation be converted to the appropriate highlight data structure
|
||||
|
||||
|
|
Loading…
Reference in a new issue