4 #include <QStyleSyntaxHighlighter> 8 #include <QRegularExpression> 32 const QRegularExpression& regex,
QRegularExpression m_xmlValueRegex
QVector< QRegularExpression > m_xmlKeywordRegexes
QRegularExpression m_xmlCommentBeginRegex
QRegularExpression m_xmlAttributeRegex
QRegularExpression m_xmlElementRegex
Class, that describes XML code highlighter.
QRegularExpression m_xmlCommentEndRegex
void highlightByRegex(const QTextCharFormat &format, const QRegularExpression ®ex, const QString &text)
QXMLHighlighter(QTextDocument *document=nullptr)
Constructor.
Class, that descrubes highlighter with syntax style.
void highlightBlock(const QString &text) override
std::basic_string< Char > format(const text_style &ts, const S &format_str, const Args &... args)