Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

TextHighlighter (gb.eval.highlight)

This class is the parent class of all specific text highlighter.

This class can be used like an object by creating a hidden instance on demand.

This class is not creatable.

This class acts like a read-only static array.

Constants
FullName  
Name   This constant must return the name of the highlighter.

Static properties
Alternate  
CanRewrite  
Comment  
DefaultStyle   Return the highlighter default style.
Limit  
Line  
List  
State  
Tag  
TextAfter  

Static methods
Add   Add the result of the highlighting of a piece of text to the internal analyze buffer associated with the current line being highlighted.

Properties
Styles  

Methods
GetKeywords   Return the list of keywords associated with a specific highlighter.
Paint   Paint some highlighted text.
Run   Run a specific highlighter on a line of text.
ToANSI  
ToHTML   Highlight a text and return the result as colored HTML.
ToRichText   Highlight a text and return the result as colored rich text.