mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
Fix backward search bug exposed by the unit test
When searching with multiple lines first_line_start/end were initialized to the last line start/end iters
This commit is contained in:
parent
be703155aa
commit
42910194a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user