Gambas Documentation
Documents

TextHighlighterStyle (gb.highlight)

This class represents the style used for drawing a specific highlighter state.

This class is creatable.

This class can be used as a static function.

Static methods
FromString   Create a style from a string description.

Properties
Background   Return if that style is for drawing a background and not drawing text.
Bold   Return or set if the text drawn with that style must be bold.
Color   Return or set the RGB color used for drawing some text using that style.
Dotted   Return or set if the text drawn with that style must have a dotted underline.
InvertedColor   Return the inverted color of the Color property.
Key   Return or set the name of the state the style is associated with.
Name   Return the display name of the style.
Strikeout   Return or set if the text drawn with that style must be stroke out.
Underline   Return or set if the text drawn with that style must have a solid underline.

Methods
Copy   Return a copy of the current style.
ToString   Convert the style contents to a string.

Events
Change   This event is raised when the style contents has changed.