TextIter.backwardSearch

Same as TextIter.forwardSearch, but moves backward.

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

class TextIter
bool
backwardSearch

Parameters

str string

search string

flags GtkTextSearchFlags

bitmask of flags affecting the search

matchStart TextIter

return location for start of match, or NULL

matchEnd TextIter

return location for end of match, or NULL

limit TextIter

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

Return Value

Type: bool

whether a match was found