backward_iter_to_source_mark


Description:

[ Version ( since = "2.2" ) ]
public bool backward_iter_to_source_mark (ref TextIter iter, string? category)

Moves iter to the position of the previous SourceMark of the given category.

Returns true if iter was moved. If category is NULL, the previous source mark can be of any category.

Parameters:

this

a SourceBuffer.

iter

an iterator.

category

category to search for, or null

Returns:

whether iter was moved.