4 #include <QStyleSyntaxHighlighter> 5 #include <QHighlightRule> 8 #include <QRegularExpression> QRegularExpression m_commentStartPattern
QRegularExpression m_includePattern
QRegularExpression m_commentEndPattern
Class, that describes Glsl code highlighter.
QRegularExpression m_defTypePattern
void highlightBlock(const QString &text) override
Class, that describes Qt style parser for QCodeEditor.
Class, that descrubes highlighter with syntax style.
QGLSLHighlighter(QTextDocument *document=nullptr)
Constructor.
QRegularExpression m_functionPattern
QVector< QHighlightRule > m_highlightRules