TextIter.backwardToTagToggle

Moves backward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is null.

If no matching tag toggles are found, returns false, otherwise true. Does not return toggles located at iter, only toggles before iter. Sets iter to the location of the toggle, or the start of the buffer if no toggle is found.

class TextIter
bool
backwardToTagToggle

Parameters

tag gtk.text_tag.TextTag

Return Value

Type: bool

whether we found a tag toggle before iter