We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc16eb commit 1040990Copy full SHA for 1040990
helix-term/src/ui/document.rs
@@ -300,12 +300,12 @@ pub fn render_text<'t>(
300
}
301
302
// acquire the correct grapheme style
303
- if char_pos >= syntax_style_span.1 {
+ while char_pos >= syntax_style_span.1 {
304
syntax_style_span = syntax_styles
305
.next()
306
.unwrap_or((Style::default(), usize::MAX));
307
308
- if char_pos >= overlay_style_span.1 {
+ while char_pos >= overlay_style_span.1 {
309
overlay_style_span = overlay_styles
310
311
0 commit comments