TextIter.backwardSearch

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

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

Parameters

str string

search string

flags gtk.types.TextSearchFlags

bitmask of flags affecting the search

matchStart gtk.text_iter.TextIter

return location for start of match

matchEnd gtk.text_iter.TextIter

return location for end of match

limit gtk.text_iter.TextIter

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

Return Value

Type: bool

whether a match was found