iter_has_context_class


Description:

[ Version ( since = "2.10" ) ]
public bool iter_has_context_class (TextIter iter, string context_class)

Check if the class context_class is set on iter.

See the SourceBuffer description for the list of default context classes.

Parameters:

this

a SourceBuffer.

iter

a TextIter.

context_class

class to search for.

Returns:

whether iter has the context class.