TextHighlighterTheme (gb.highlight)

This class implements an highlighter theme.

该类是可创建

该类的行为像一个可读/可写数组。

静态属性
AllStates   Return the list of all registered states.
States   Return the list of the default states implemented in each registered highlighters.

静态方法
GetStateIndex   Return the index of a specific state.
Load   Create a theme from a file.

属性
Dark   Return if the theme uses a dark background.
Settings   Return or set the theme contents as a settings string.
Styles   Return the styles associated with this theme

方法
Add   Shortcut method for creating a style and associating it with a color name.
Copy   Copy a theme and returns it.
FromString   Initialize a theme from a string description.
Invert   Invert the color of all theme styles.
Save   Save the theme contents to a file
ToString   Convert the contents of the theme to a string.

事件
Change   This event is raised when one of the theme style has been modified.