diff --git a/src/edit/editor.rs b/src/edit/editor.rs index 1fa58db09f..03c63e83de 100644 --- a/src/edit/editor.rs +++ b/src/edit/editor.rs @@ -99,7 +99,7 @@ impl<'buffer> Editor<'buffer> { None }; - // Highlight selection (TODO: HIGHLIGHT COLOR!) + // Highlight selection if let Some((start, end)) = self.selection_bounds() { if line_i >= start.line && line_i <= end.line { let mut range_opt = None; diff --git a/src/edit/vi.rs b/src/edit/vi.rs index 8d6382b436..4e50bfb691 100644 --- a/src/edit/vi.rs +++ b/src/edit/vi.rs @@ -322,7 +322,7 @@ impl<'syntax_system, 'buffer> ViEditor<'syntax_system, 'buffer> { None }; - // Highlight selection (TODO: HIGHLIGHT COLOR!) + // Highlight selection if let Some((start, end)) = self.selection_bounds() { if line_i >= start.line && line_i <= end.line { let mut range_opt = None;