backward_search


Description:

public bool backward_search (string str, TextSearchFlags flags, out TextIter match_start, out TextIter match_end, TextIter? limit)

Same as [method@Gtk.

TextIter.forward_search], but moves backward.

match_end will never be set to a `GtkTextIter` located after this, even if there is a possible match_start before or at this.

Parameters:

this

a `GtkTextIter` where the search begins

str

search string

flags

bitmask of flags affecting the search

match_start

return location for start of match

match_end

return location for end of match

limit

location of last possible match_start, or null for start of buffer

Returns:

whether a match was found