Mark.prev

gtksource.mark.Mark prev(string category)

Returns the previous #GtkSourceMark in the buffer or null if the mark was not added to a buffer. If there is no previous mark, null is returned.

If category is null, looks for marks of any category

Parameters

categorya string specifying the mark category, or null.

Returns

the previous #GtkSourceMark, or null.