#include <QCXXHighlighter>
#include <QSyntaxStyle>
#include <QLanguage>
#include <QFile>
Go to the source code of this file.
Functions | |
m_highlightRules | append ({ QRegularExpression(R"(//[^\n]*)"), "Comment" }) |
Variables | |
QCXXHighlighter::QCXXHighlighter(QTextDocument *document) m_highlightRule | append )({ QRegularExpression(R"(#[a-zA-Z_]+)"), "Preprocessor" }) |
m_highlightRules append | ( | { QRegularExpression(R"(//[^\n]*)"), "Comment" } | ) |
QCXXHighlighter::QCXXHighlighter (QTextDocument* document) m_highlightRule append) ({ QRegularExpression(R"(#[a-zA-Z_]+)"), "Preprocessor" }) |
Definition at line 60 of file QCXXHighlighter.cpp.