Highlight line number of stack pointer
This commit is contained in:
parent
5f5b383979
commit
56bddb12f8
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue