Highlight line number of stack pointer

pull/574/head
Dmitry Sharshakov 3 years ago
parent 5f5b383979
commit 56bddb12f8
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -488,7 +488,11 @@ impl EditorView {
.unwrap_or(false)
&& sp.line == line
{
surface.set_stringn(viewport.x, viewport.y + i as u16, "⇒", 1, warning);
surface.set_style(
Rect::new(viewport.x, viewport.y + i as u16, 6, 1),
helix_view::graphics::Style::default()
.bg(helix_view::graphics::Color::LightYellow),
);
}
}
}

Loading…
Cancel
Save