mirror of https://github.com/lapce/lapce.git
absolute line number in insert mode
This commit is contained in:
parent
7d86c61278
commit
0bec032eb6
|
@ -1268,6 +1268,8 @@ fn paint_gutter(&self, ctx: &mut PaintCtx, gutter_width: f64) {
|
|||
}
|
||||
let content = if *self.main_split.active != self.view_id {
|
||||
line + 1
|
||||
} else if self.editor.cursor.is_insert() {
|
||||
line + 1
|
||||
} else {
|
||||
if line == current_line {
|
||||
line + 1
|
||||
|
|
Loading…
Reference in New Issue