6#ifndef BASIC_XML_SYNTAX_HIGHLIGHTER_H
7#define BASIC_XML_SYNTAX_HIGHLIGHTER_H
9#include <QSyntaxHighlighter>
11#include <QRegularExpression>
39 const QRegularExpression & regex,
const QString & text);
QTextCharFormat m_xmlElementFormat
QTextCharFormat m_xmlAttributeFormat
BasicXMLSyntaxHighlighter(QObject *parent)
QTextCharFormat m_xmlValueFormat
QRegularExpression m_xmlCommentRegex
QRegularExpression m_xmlElementRegex
void highlightBlock(const QString &text) override
QRegularExpression m_xmlValueRegex
QRegularExpression m_xmlAttributeRegex
void highlightByRegex(const QTextCharFormat &format, const QRegularExpression ®ex, const QString &text)
QList< QRegularExpression > m_xmlKeywordRegexes
QTextCharFormat m_xmlKeywordFormat
QTextCharFormat m_xmlCommentFormat