prev


Description:

[ Version ( since = "2.2" ) ]
public unowned SourceMark? prev (string? category)

Returns the previous SourceMark 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:

this

a SourceMark.

category

a string specifying the mark category, or null.

Returns:

the previous SourceMark, or null.