Module syntect::highlighting
source · Expand description
Structs
- RGBA color, directly from the theme
- The color-independent styling of a font - i.e. bold, italicized, and/or underlined
- Highlights a line of parsed code given a
HighlightState
and line of changes from the parser. - Keeps a stack of scopes and styles as state between highlighting different lines.
- Basically a wrapper around a
Theme
preparing it to be used for highlighting. - Highlights a line of parsed code given a
HighlightState
and line of changes from the parser. - A single selector consisting of a stack to match and a possible stack to exclude from being matched.
- A selector set that matches anything matched by any of its component selectors.
- Foreground and background colors, with font style
- A change to a
Style
applied incrementally by a theme rule - A theme parsed from a
.tmTheme
file. - A component of a theme meant to highlight a specific thing (e.g string literals) in a certain way.
- Properties for styling the UI of a text editor
Enums
- An error parsing a settings file