SourceBuffer.backwardIterToSourceMark

Moves iter to the position of the previous gsv.SourceMark of the given category. Returns TRUE if iter was moved. If category is NULL, the previous source mark can be of any category.

class SourceBuffer
bool
backwardIterToSourceMark

Parameters

iter TextIter

an iterator.

category string

category to search for, or NULL

Return Value

Type: bool

whether iter was moved.

Meta