@@ -8,7 +8,7 @@ use crate::{
88
99use helix_core::{
1010 coords_at_pos,
11− graphemes::{ensure_grapheme_boundary, ensure_grapheme_boundary_byte},
11+ graphemes::ensure_grapheme_boundary,
1212 syntax::{self, HighlightEvent},
1313 LineEnding, Position, Range,
1414};
@@ -143,7 +143,6 @@ impl EditorView {
143143 'outer: for event in highlights {
144144 match event.unwrap() {
145145 HighlightEvent::HighlightStart(mut span) => {
146− span.0 = ensure_grapheme_boundary_byte(text, span.0);
147146 spans.push(span);
148147 }
149148 HighlightEvent::HighlightEnd => {