#include <SyntaxHighlighter.h>
Data Structures | |
struct | HighlightingRule |
Public Member Functions | |
CSyntaxHighlighter (QTextDocument *parent=0) | |
Protected Member Functions | |
void | highlightBlock (const QString &text) |
Private Attributes | |
QVector< HighlightingRule > | highlightingRules |
QRegExp | commentStartExpression |
QRegExp | commentEndExpression |
QTextCharFormat | keywordFormat |
QTextCharFormat | classFormat |
QTextCharFormat | singleLineCommentFormat |
QTextCharFormat | multiLineCommentFormat |
QTextCharFormat | quotationFormat |
QTextCharFormat | functionFormat |
QTextCharFormat | loopFormat1 |
QTextCharFormat | loopFormat2 |
Definition at line 19 of file SyntaxHighlighter.h.
NetworkEvolutionLib::CSyntaxHighlighter::CSyntaxHighlighter | ( | QTextDocument * | parent = 0 |
) |
Definition at line 7 of file SyntaxHighlighter.cpp.
References classFormat, commentEndExpression, commentStartExpression, NetworkEvolutionLib::CSyntaxHighlighter::HighlightingRule::format, functionFormat, highlightingRules, keywordFormat, loopFormat1, loopFormat2, multiLineCommentFormat, NetworkEvolutionLib::CSyntaxHighlighter::HighlightingRule::pattern, quotationFormat, and singleLineCommentFormat.
void NetworkEvolutionLib::CSyntaxHighlighter::highlightBlock | ( | const QString & | text | ) | [protected] |
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::classFormat [private] |
Definition at line 41 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().
QRegExp NetworkEvolutionLib::CSyntaxHighlighter::commentEndExpression [private] |
Definition at line 38 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter(), and highlightBlock().
QRegExp NetworkEvolutionLib::CSyntaxHighlighter::commentStartExpression [private] |
Definition at line 37 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter(), and highlightBlock().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::functionFormat [private] |
Definition at line 45 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().
QVector<HighlightingRule> NetworkEvolutionLib::CSyntaxHighlighter::highlightingRules [private] |
Definition at line 35 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter(), and highlightBlock().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::keywordFormat [private] |
Definition at line 40 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::loopFormat1 [private] |
Definition at line 46 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::loopFormat2 [private] |
Definition at line 46 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::multiLineCommentFormat [private] |
Definition at line 43 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter(), and highlightBlock().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::quotationFormat [private] |
Definition at line 44 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().
QTextCharFormat NetworkEvolutionLib::CSyntaxHighlighter::singleLineCommentFormat [private] |
Definition at line 42 of file SyntaxHighlighter.h.
Referenced by CSyntaxHighlighter().