Remove selection highlights from deleted diff editors on blur (#11772)
Follow-up of https://github.com/zed-industries/zed/pull/11710 Release Notes: - Removed extra line highlights when deleted diff editors loose focus
This commit is contained in:
@@ -1943,13 +1943,8 @@ impl Editor {
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
pub fn set_current_line_highlight(
|
||||
&mut self,
|
||||
current_line_highlight: CurrentLineHighlight,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) {
|
||||
pub fn set_current_line_highlight(&mut self, current_line_highlight: CurrentLineHighlight) {
|
||||
self.current_line_highlight = current_line_highlight;
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
pub fn set_collapse_matches(&mut self, collapse_matches: bool) {
|
||||
|
||||
Reference in New Issue
Block a user