-
public AttrIterator copy ()
-
public unowned Attribute get (AttrType type)
Find the current attribute of a particular type at the iterator location. When multiple attributes of
the same type overlap, the attribute whose range starts closest to the current location is used.
-
public unowned SList get_attrs ()
Gets a list of all attributes at the current position of the iterator.
-
public void get_font (FontDescription desc, out Language language, SList extra_attrs)
Get the font and other attributes at the current iterator position.
-
public bool next ()
Advance the iterator until the next change of style.
-
public void range (out int start, out int end)
Get the range of the current segment. Note that the stored return values are signed, not unsigned like
the values in Attribute. To deal with this API oversight, stored return values that
wouldn't fit into a signed integer are clamped to MAX.