Rename background_highlights_in_range_for_key to background_highlights_in_range_for
This commit is contained in:
parent
4f60679861
commit
e83afdc5ab
2 changed files with 2 additions and 2 deletions
|
@ -7222,7 +7222,7 @@ impl Editor {
|
||||||
}
|
}
|
||||||
results
|
results
|
||||||
}
|
}
|
||||||
pub fn background_highlights_in_range_for_key<T: 'static>(
|
pub fn background_highlights_in_range_for<T: 'static>(
|
||||||
&self,
|
&self,
|
||||||
search_range: Range<Anchor>,
|
search_range: Range<Anchor>,
|
||||||
display_snapshot: &DisplaySnapshot,
|
display_snapshot: &DisplaySnapshot,
|
||||||
|
|
|
@ -1087,7 +1087,7 @@ impl EditorElement {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
for (row, _) in &editor
|
for (row, _) in &editor
|
||||||
.background_highlights_in_range_for_key::<crate::items::BufferSearchHighlights>(
|
.background_highlights_in_range_for::<crate::items::BufferSearchHighlights>(
|
||||||
start_anchor..end_anchor,
|
start_anchor..end_anchor,
|
||||||
&layout.position_map.snapshot,
|
&layout.position_map.snapshot,
|
||||||
&theme,
|
&theme,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue