#include <xml_syntax_highlighter.h>
|
void | addTag (const QString &tag, const QTextCharFormat &format, const QString &parent=QString()) |
|
| XmlSyntaxHighlighter (QTextDocument *parent=nullptr) |
|
|
Rules::const_iterator | highlight (Rules::const_iterator active, QStringView text, int start, bool search_end, int &end) |
|
XML SyntaxHighlighter allowing nested highlighting of XML tags
Definition at line 44 of file xml_syntax_highlighter.h.
◆ Rules
◆ XmlSyntaxHighlighter()
XmlSyntaxHighlighter::XmlSyntaxHighlighter |
( |
QTextDocument * |
parent = nullptr | ) |
|
◆ addTag()
void XmlSyntaxHighlighter::addTag |
( |
const QString & |
tag, |
|
|
const QTextCharFormat & |
format, |
|
|
const QString & |
parent = QString() |
|
) |
| |
◆ highlight()
XmlSyntaxHighlighter::Rules::const_iterator XmlSyntaxHighlighter::highlight |
( |
Rules::const_iterator |
active, |
|
|
QStringView |
text, |
|
|
int |
start, |
|
|
bool |
search_end, |
|
|
int & |
end |
|
) |
| |
|
private |
◆ highlightBlock()
void XmlSyntaxHighlighter::highlightBlock |
( |
const QString & |
text | ) |
|
|
overrideprotected |
◆ rules
Rules XmlSyntaxHighlighter::rules |
|
private |
The documentation for this class was generated from the following files: