7 #ifndef QTOPENGL_LUA_SYNTAX_HIGHLIGHTER_H
8 #define QTOPENGL_LUA_SYNTAX_HIGHLIGHTER_H
11 class CQTOpenGLLuaSyntaxHighlighter;
15 #include <QSyntaxHighlighter>
16 #include <QTextCharFormat>
37 struct SHighlightingRule
40 QTextCharFormat Format;
42 QVector<SHighlightingRule> m_vecHighlightingRules;
44 QRegExp m_cCommentStartExpression;
45 QRegExp m_cCommentEndExpression;
47 QTextCharFormat m_cKeywordFormat;
48 QTextCharFormat m_cSingleLineCommentFormat;
49 QTextCharFormat m_cMultiLineCommentFormat;
50 QTextCharFormat m_cQuotationFormat;
51 QTextCharFormat m_cFunctionFormat;
CQTOpenGLLuaSyntaxHighlighter(QTextDocument *pc_text)
void highlightBlock(const QString &str_text)
The namespace containing all the ARGoS related code.
virtual ~CQTOpenGLLuaSyntaxHighlighter()