pub trait MarkExt: IsA<Mark> + Sealed + 'static {
// Provided methods
fn category(&self) -> Option<GString> { ... }
fn next(&self, category: Option<&str>) -> Option<Mark> { ... }
fn prev(&self, category: &str) -> Option<Mark> { ... }
}
Expand description
Returns the mark category.
the category of the Mark
.
Returns the next Mark
in the buffer or None
if the mark
was not added to a buffer. If there is no next mark, None
will be returned.
If category
is None
, looks for marks of any category.
a string specifying the mark category, or None
.
the next Mark
, or None
.
Returns the previous Mark
in the buffer or None
if the mark
was not added to a buffer. If there is no previous mark, None
is returned.
If category
is None
, looks for marks of any category
a string specifying the mark category, or None
.
the previous Mark
, or None
.