Tag#
A tag that can be applied to text in a Buffer.
GtkSourceTag is a subclass of TextTag that adds properties useful for
the GtkSourceView library.
If, for a certain tag, TextTag is sufficient, it’s better that you create
a TextTag, not a Tag.
Constructors#
Properties#
- class Tag
- props.draw_spaces: bool#
Whether to draw white spaces.
This property takes precedence over the value defined by the
SpaceDrawer'smatrixproperty (only where the tag is applied).Setting this property also changes
draw_spaces_settoTrue.
- props.draw_spaces_set: bool#
Whether the
draw_spacesproperty is set and must be taken into account.
Fields#
- class Tag
- parent_instance#