TextHighlighterTheme (gb.highlight)

This class implements an highlighter theme.
This class is creatable . This class acts like a read / write array.
Static properties
AllStates Return the list of all registered states.
List Return the list of all default themes
Names Return the display names of all default themes.
States Return the list of the default states implemented in each registered highlighters.
Static methods
GetStateIndex Return the index of a specific state.
Load Create a theme from a file.
Properties
Adaptative
Since 3.22
Return or set if the theme colors will automatically adapt to the background color.
Background
Since 3.21
Return or set the background color the theme is adapted to.
Dark Return if the theme has been adapted to a dark background.
Settings Return or set the theme contents as a settings string.
Styles Return the styles associated with this theme
Methods
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.
Events
Change This event is raised when one of the theme style has been modified.

AltStyle によって変換されたページ (->オリジナル) /