mirror of https://github.com/helix-editor/helix
Highlight line number of stack pointer
parent
5f5b383979
commit
56bddb12f8
|
@ -488,7 +488,11 @@ impl EditorView {
|
||||||
.unwrap_or(false)
|
.unwrap_or(false)
|
||||||
&& sp.line == line
|
&& 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