"\t} ",
"\t",
"\tGtk.TextIter beg, st,en;",
- "\t ",
+ "\tbool has_wrapped_around;",
"\tthis.buffer.el.get_iter_at_offset(out beg, this.last_search_end);",
"\t",
- "\tif (!this.searchcontext.backward2(beg, out st, out en)) {",
+ "\tif (!this.searchcontext.backward2(beg, out st, out en, out has_wrapped_around)) {",
"\t",
"\t\tthis.last_search_end = 0;",
"\t} else {",
}
Gtk.TextIter beg, st,en;
-
+ bool has_wrapped_around;
this.buffer.el.get_iter_at_offset(out beg, this.last_search_end);
- if (!this.searchcontext.backward2(beg, out st, out en)) {
+ if (!this.searchcontext.backward2(beg, out st, out en, out has_wrapped_around)) {
this.last_search_end = 0;
} else {