iter_forward_to_context_class_toggle
Description:
[ Version ( since = "2.10" ) ]
public bool iter_forward_to_context_class_toggle (ref TextIter iter, string context_class)
public bool iter_forward_to_context_class_toggle (ref TextIter iter, string context_class)
Moves forward 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 SourceBuffer description for the list of default context classes.
Parameters:
this |
a SourceBuffer. |
iter |
a TextIter. |
context_class |
the context class. |
Returns:
whether we found a context class toggle after |