TextIter.backwardSearch

bool backwardSearch(string str, gtk.types.TextSearchFlags flags, out gtk.text_iter.TextIter matchStart, out gtk.text_iter.TextIter matchEnd, gtk.text_iter.TextIter limit = null)

Same as [gtk.text_iter.TextIter.forwardSearch], but moves backward.

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

Parameters

strsearch string
flagsbitmask of flags affecting the search
matchStartreturn location for start of match, or null
matchEndreturn location for end of match, or null
limitlocation of last possible match_start, or null for start of buffer

Returns

whether a match was found