Class, that describes XML code highlighter.
More...
#include <QXMLHighlighter.hpp>
Class, that describes XML code highlighter.
Definition at line 14 of file QXMLHighlighter.hpp.
◆ QXMLHighlighter()
| QXMLHighlighter::QXMLHighlighter |
( |
QTextDocument * |
document = nullptr | ) |
|
|
explicit |
Constructor.
- Parameters
-
| document | Pointer to document. |
◆ highlightBlock()
| void QXMLHighlighter::highlightBlock |
( |
const QString & |
text | ) |
|
|
overrideprotected |
◆ highlightByRegex()
| void QXMLHighlighter::highlightByRegex |
( |
const QTextCharFormat & |
format, |
|
|
const QRegularExpression & |
regex, |
|
|
const QString & |
text |
|
) |
| |
|
private |
◆ m_xmlAttributeRegex
| QRegularExpression QXMLHighlighter::m_xmlAttributeRegex |
|
private |
◆ m_xmlCommentBeginRegex
| QRegularExpression QXMLHighlighter::m_xmlCommentBeginRegex |
|
private |
◆ m_xmlCommentEndRegex
| QRegularExpression QXMLHighlighter::m_xmlCommentEndRegex |
|
private |
◆ m_xmlElementRegex
| QRegularExpression QXMLHighlighter::m_xmlElementRegex |
|
private |
◆ m_xmlKeywordRegexes
| QVector<QRegularExpression> QXMLHighlighter::m_xmlKeywordRegexes |
|
private |
◆ m_xmlValueRegex
| QRegularExpression QXMLHighlighter::m_xmlValueRegex |
|
private |
The documentation for this class was generated from the following file: