Mark.prev

Returns the previous gtksource.mark.Mark 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

class Mark
prev
(
string category = null
)

Parameters

category string

a string specifying the mark category, or null.

Return Value

Type: gtksource.mark.Mark

the previous #GtkSourceMark, or null.