diff --git a/core/src/editor.rs b/core/src/editor.rs index 9d52c6b1..8514aa8f 100644 --- a/core/src/editor.rs +++ b/core/src/editor.rs @@ -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