This commit is contained in:
Nathan Sobo
2022-03-10 11:32:14 -07:00
parent ac1eb19f83
commit e6b1fea117
9 changed files with 280 additions and 79 deletions
+7 -7
View File
@@ -4398,16 +4398,16 @@ impl Editor {
None,
cx,
);
editor.highlight_background::<Rename>(
vec![Anchor::min()..Anchor::max()],
style.diff_background_inserted,
cx,
);
editor
});
this.highlight_background::<Rename>(
this.highlight_text::<Rename>(
vec![range.clone()],
style.diff_background_deleted,
HighlightStyle {
color: Color::transparent_black(),
font_properties: todo!(),
underline: todo!(),
fade_out: todo!(),
},
cx,
);
this.update_selections(