Class, that describes Glsl code highlighter. More...
#include <QPythonHighlighter.hpp>
Public Member Functions | |
QPythonHighlighter (QTextDocument *document=nullptr) | |
Constructor. More... | |
Public Member Functions inherited from QStyleSyntaxHighlighter | |
QStyleSyntaxHighlighter & | operator= (const QStyleSyntaxHighlighter &)=delete |
QStyleSyntaxHighlighter (const QStyleSyntaxHighlighter &)=delete | |
QStyleSyntaxHighlighter (QTextDocument *document=nullptr) | |
Constructor. More... | |
void | setSyntaxStyle (QSyntaxStyle *style) |
Method for setting syntax style. More... | |
QSyntaxStyle * | syntaxStyle () const |
Method for getting syntax style. More... | |
Protected Member Functions | |
void | highlightBlock (const QString &text) override |
Private Attributes | |
QRegularExpression | m_defTypePattern |
QRegularExpression | m_functionPattern |
QVector< QHighlightBlockRule > | m_highlightBlockRules |
QVector< QHighlightRule > | m_highlightRules |
QRegularExpression | m_includePattern |
Class, that describes Glsl code highlighter.
Definition at line 18 of file QPythonHighlighter.hpp.
|
explicit |
Constructor.
document | Pointer to document. |
Definition at line 10 of file QPythonHighlighter.cpp.
|
overrideprotected |
Definition at line 84 of file QPythonHighlighter.cpp.
|
private |
Definition at line 39 of file QPythonHighlighter.hpp.
|
private |
Definition at line 38 of file QPythonHighlighter.hpp.
|
private |
Definition at line 35 of file QPythonHighlighter.hpp.
|
private |
Definition at line 34 of file QPythonHighlighter.hpp.
|
private |
Definition at line 37 of file QPythonHighlighter.hpp.