A general purpose syntax highlighter.
More...
#include <SyntaxHighlighter.h++>
A general purpose syntax highlighter.
The highlighter uses a LanguageSyntax subclass to recognize the syntax of the language and a SyntaxHighlighterTheme to decorate that syntax.
- Author
- Mark Lindner
◆ SyntaxHighlighter()
Constructs a SyntaxHighlighter for performing highlighting of the given document.
- Parameters
-
document | The document to be highlighted. |
◆ ~SyntaxHighlighter()
◆ highlightBlock()
virtual void highlightBlock |
( |
const QString & |
text | ) |
|
|
protectedvirtual |
◆ setLanguageSyntax()
Sets the language syntax to be recognized.
◆ setTheme()
Sets the highlighting theme.
The documentation for this class was generated from the following file: