This commit is contained in:
Piotr Osiewicz 2023-11-14 16:56:31 +01:00
parent dfd68d4cb8
commit 6c69e40e5c
5 changed files with 158 additions and 94 deletions

View file

@ -910,7 +910,6 @@ impl SearchableItem for Editor {
}
fn update_matches(&mut self, matches: Vec<Range<Anchor>>, cx: &mut ViewContext<Self>) {
dbg!(&matches);
self.highlight_background::<BufferSearchHighlights>(
matches,
|theme| theme.title_bar_background, // todo: update theme