gb.highlight

Desde 3.19

This component provides a syntax highlighter based on definition files.

Clase Descripción
TextHighlighter This class is the parent class of all syntax highlighters.
TextHighlighterStyle This class represents the style used for drawing a specific highlighter state.
TextHighlighterTheme This class implements an highlighter theme.

At the moment, the following highlighter are provided:
  • C language.

  • C++ language.

  • Cascading style sheets.

  • Diff output.

  • Gambas language.

  • HTML.

  • Javascript language.

  • Bash shell scripts.

  • SQL.

  • Gambas webpages.

The Gambas highlighter is not implemented by a definition file. Instead it is based on the Highlight.Analyze() method of the gb.eval component.

See also