From b08676909f882f553ab574601b35b58276a52458 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 18 Mar 2024 08:41:42 -0600 Subject: [PATCH] Remove todos about highlight color, it is implemented --- src/edit/editor.rs | 2 +- src/edit/vi.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;