Class XmlSyntaxHighlighter

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public QSyntaxHighlighter

Class Documentation

class XmlSyntaxHighlighter : public QSyntaxHighlighter

XML SyntaxHighlighter allowing nested highlighting of XML tags

Public Functions

XmlSyntaxHighlighter(QTextDocument *parent = nullptr)
void addTag(const QString &tag, const QTextCharFormat &format, const QString &parent = QString())

Protected Functions

void highlightBlock(const QString &text) override