31 #ifndef XMLHIGHLIGHTER_H 32 #define XMLHIGHLIGHTER_H 34 #include <QSyntaxHighlighter> 37 #include <QTextCharFormat> 59 void highlightSubBlock(
const QString& text,
const int startIndex,
const int currState);
QTextCharFormat xmlDoctypeFormat
Definition: Xmlhighlighter.h:88
void highlightBlock(const QString &text) override
Definition: Xmlhighlighter.cpp:365
Definition: Xmlhighlighter.h:99
QRegExp xmlDoctypeStartExpression
Definition: Xmlhighlighter.h:72
QVector< HighlightingRule > hlRules
Definition: Xmlhighlighter.h:66
QRegExp xmlAttributeEndExpression
Definition: Xmlhighlighter.h:80
QRegExp xmlCloseTagEndExpression
Definition: Xmlhighlighter.h:78
QTextCharFormat xmlEntityFormat
Definition: Xmlhighlighter.h:91
QTextCharFormat xmlAttValFormat
Definition: Xmlhighlighter.h:93
QRegExp xmlProcInstStartExpression
Definition: Xmlhighlighter.h:68
xmlState
Definition: Xmlhighlighter.h:97
QRegExp xmlOpenTagEndExpression
Definition: Xmlhighlighter.h:76
Definition: Xmlhighlighter.h:107
QRegExp xmlProcInstEndExpression
Definition: Xmlhighlighter.h:69
QRegExp xmlCloseTagStartExpression
Definition: Xmlhighlighter.h:77
QRegExp xmlAttValExpression
Definition: Xmlhighlighter.h:84
Definition: Xmlhighlighter.h:106
QRegExp xmlOpenTagStartExpression
Definition: Xmlhighlighter.h:75
Definition: Xmlhighlighter.h:103
QRegExp xmlCommentStartExpression
Definition: Xmlhighlighter.h:70
Definition: Xmlhighlighter.h:108
QRegExp xmlAttValEndExpression
Definition: Xmlhighlighter.h:82
Definition: Xmlhighlighter.h:101
XmlHighlighter(QTextDocument *parent=nullptr)
[0]
Definition: Xmlhighlighter.cpp:39
QRegExp xmlAttValStartExpression
Definition: Xmlhighlighter.h:81
QTextCharFormat xmlTagFormat
Definition: Xmlhighlighter.h:90
Definition: Xmlhighlighter.h:62
QTextCharFormat xmlCommentFormat
Definition: Xmlhighlighter.h:89
QRegExp xmlCommentEndExpression
Definition: Xmlhighlighter.h:71
QRegExp pattern
Definition: Xmlhighlighter.h:63
Definition: Xmlhighlighter.h:105
Definition: Xmlhighlighter.h:100
Definition: Xmlhighlighter.h:102
void highlightSubBlock(const QString &text, const int startIndex, const int currState)
Definition: Xmlhighlighter.cpp:131
QTextCharFormat xmlAttributeFormat
Definition: Xmlhighlighter.h:92
QTextCharFormat format
Definition: Xmlhighlighter.h:64
TODO Comment class here.
Definition: Xmlhighlighter.h:51
Definition: Xmlhighlighter.h:98
QRegExp xmlDoctypeEndExpression
Definition: Xmlhighlighter.h:73
QTextCharFormat xmlProcInstFormat
Definition: Xmlhighlighter.h:87
QRegExp xmlAttributeStartExpression
Definition: Xmlhighlighter.h:79
Definition: Xmlhighlighter.h:104