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