#include "SyntaxHighlighter.h"
Public Member Functions | |
SyntaxHighlighter (QTextDocument *_document) | |
virtual | ~SyntaxHighlighter () |
void | addRule (const SyntaxHighlighterRule &_rule) |
void | addRules (const std::list< SyntaxHighlighterRule > &_rules) |
void | setRules (const std::list< SyntaxHighlighterRule > &_rules) |
const std::list< SyntaxHighlighterRule > & | getRules (void) const |
Protected Member Functions | |
virtual void | highlightBlock (const QString &text) override |
ot::SyntaxHighlighter::SyntaxHighlighter | ( | QTextDocument * | _document | ) |
|
virtual |
void ot::SyntaxHighlighter::addRule | ( | const SyntaxHighlighterRule & | _rule | ) |
void ot::SyntaxHighlighter::addRules | ( | const std::list< SyntaxHighlighterRule > & | _rules | ) |
|
inline |
|
overrideprotectedvirtual |
|
inline |