Class, that describes C++ code highlighter. More...
#include <QCSVHighlighter.hpp>
Public Member Functions | |
QCSVHighlighter (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... | |
Public Attributes | |
QChar | delimiter = QChar(',') |
Protected Member Functions | |
void | highlightBlock (const QString &text) override |
Private Attributes | |
QRegularExpression | m_delimiter |
Class, that describes C++ code highlighter.
Definition at line 20 of file QCSVHighlighter.hpp.
|
explicit |
Constructor.
document | Pointer to document. |
Definition at line 35 of file QCSVHighlighter.cpp.
|
overrideprotected |
Definition at line 43 of file QCSVHighlighter.cpp.
QChar QCSVHighlighter::delimiter = QChar(',') |
Definition at line 31 of file QCSVHighlighter.hpp.
|
private |
Definition at line 37 of file QCSVHighlighter.hpp.