Class, that describes C++ code highlighter. More...
#include <QLuaHighlighter.hpp>

Public Member Functions | |
| QLuaHighlighter (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_requirePattern |
Class, that describes C++ code highlighter.
Definition at line 19 of file QLuaHighlighter.hpp.
|
explicit |
Constructor.
| document | Pointer to document. |
Definition at line 10 of file QLuaHighlighter.cpp.
|
overrideprotected |
|
private |
Definition at line 39 of file QLuaHighlighter.hpp.
|
private |
Definition at line 38 of file QLuaHighlighter.hpp.
|
private |
Definition at line 35 of file QLuaHighlighter.hpp.
|
private |
Definition at line 34 of file QLuaHighlighter.hpp.
|
private |
Definition at line 37 of file QLuaHighlighter.hpp.