SourceBuffer.iterBackwardToContextClassToggle

Moves backward to the next toggle (on or off) of the context class. If no matching context class toggles are found, returns %FALSE, otherwise %TRUE. Does not return toggles located at @iter, only toggles after @iter. Sets @iter to the location of the toggle, or to the end of the buffer if no toggle is found.

See the #GtkSourceBuffer description for the list of default context classes.

class SourceBuffer
bool
iterBackwardToContextClassToggle

Parameters

iter TextIter

a #GtkTextIter.

contextClass string

the context class.

Return Value

Type: bool

whether we found a context class toggle before @iter

Meta

Since

2.10