diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index 13a4e370b7..380778f90c 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -4803,6 +4803,8 @@ lines_window_init (LinesWindow *win, } win->lines[i] = line_text; + win->first_line_start = line_start; + win->first_line_end = line_end; line_end = line_start; gtk_text_iter_backward_line (&line_start);