forked from AuroraMiddleware/gtk
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
a2360f979a
commit
3511215730
@ -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