mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-10 10:35:16 +03:00
Highlight line number of stack pointer
This commit is contained in:
parent
5f5b383979
commit
56bddb12f8
@ -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…
Reference in New Issue
Block a user