SourceBuffer.iterHasContextClass

Check if the class context_class is set on iter.

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

class SourceBuffer
bool
iterHasContextClass

Parameters

iter TextIter
contextClass string

class to search for.

Return Value

Type: bool

whether iter has the context class.

Meta

Since

2.10