TODO Comment class here.
More...
#include <Xmlhighlighter.h>
|
enum | xmlState {
inNothing
, inProcInst
, inDoctypeDecl
, inOpenTag
,
inOpenTagName
, inAttribute
, inAttName
, inAttVal
,
inCloseTag
, inCloseTagName
, inComment
} |
|
◆ xmlState
Enumerator |
---|
inNothing | |
inProcInst | |
inDoctypeDecl | |
inOpenTag | |
inOpenTagName | |
inAttribute | |
inAttName | |
inAttVal | |
inCloseTag | |
inCloseTagName | |
inComment | |
◆ XmlHighlighter()
XmlHighlighter::XmlHighlighter |
( |
QTextDocument * |
parent = nullptr | ) |
|
[0]
References XmlHighlighter::HighlightingRule::format, hlRules, XmlHighlighter::HighlightingRule::pattern, xmlAttributeEndExpression, xmlAttributeFormat, xmlAttributeStartExpression, xmlAttValFormat, xmlAttValStartExpression, xmlCloseTagEndExpression, xmlCloseTagStartExpression, xmlCommentEndExpression, xmlCommentFormat, xmlCommentStartExpression, xmlDoctypeEndExpression, xmlDoctypeFormat, xmlDoctypeStartExpression, xmlEntityFormat, xmlOpenTagEndExpression, xmlOpenTagStartExpression, xmlProcInstEndExpression, xmlProcInstFormat, xmlProcInstStartExpression, and xmlTagFormat.
◆ highlightBlock()
void XmlHighlighter::highlightBlock |
( |
const QString & |
text | ) |
|
|
overrideprotected |
◆ highlightSubBlock()
void XmlHighlighter::highlightSubBlock |
( |
const QString & |
text, |
|
|
const int |
startIndex, |
|
|
const int |
currState |
|
) |
| |
|
protected |
References highlightSubBlock(), inAttVal, inCloseTag, inComment, inDoctypeDecl, inNothing, inOpenTag, inProcInst, xmlAttributeEndExpression, xmlAttributeFormat, xmlAttributeStartExpression, xmlAttValFormat, xmlCloseTagEndExpression, xmlCloseTagStartExpression, xmlCommentEndExpression, xmlCommentFormat, xmlCommentStartExpression, xmlDoctypeEndExpression, xmlDoctypeFormat, xmlDoctypeStartExpression, xmlOpenTagEndExpression, xmlOpenTagStartExpression, xmlProcInstEndExpression, xmlProcInstFormat, xmlProcInstStartExpression, and xmlTagFormat.
Referenced by highlightBlock(), and highlightSubBlock().
◆ hlRules
◆ xmlAttributeEndExpression
QRegExp XmlHighlighter::xmlAttributeEndExpression |
|
private |
◆ xmlAttributeFormat
QTextCharFormat XmlHighlighter::xmlAttributeFormat |
|
private |
◆ xmlAttributeStartExpression
QRegExp XmlHighlighter::xmlAttributeStartExpression |
|
private |
◆ xmlAttValEndExpression
QRegExp XmlHighlighter::xmlAttValEndExpression |
|
private |
◆ xmlAttValExpression
QRegExp XmlHighlighter::xmlAttValExpression |
|
private |
◆ xmlAttValFormat
QTextCharFormat XmlHighlighter::xmlAttValFormat |
|
private |
◆ xmlAttValStartExpression
QRegExp XmlHighlighter::xmlAttValStartExpression |
|
private |
◆ xmlCloseTagEndExpression
QRegExp XmlHighlighter::xmlCloseTagEndExpression |
|
private |
◆ xmlCloseTagStartExpression
QRegExp XmlHighlighter::xmlCloseTagStartExpression |
|
private |
◆ xmlCommentEndExpression
QRegExp XmlHighlighter::xmlCommentEndExpression |
|
private |
◆ xmlCommentFormat
QTextCharFormat XmlHighlighter::xmlCommentFormat |
|
private |
◆ xmlCommentStartExpression
QRegExp XmlHighlighter::xmlCommentStartExpression |
|
private |
◆ xmlDoctypeEndExpression
QRegExp XmlHighlighter::xmlDoctypeEndExpression |
|
private |
◆ xmlDoctypeFormat
QTextCharFormat XmlHighlighter::xmlDoctypeFormat |
|
private |
◆ xmlDoctypeStartExpression
QRegExp XmlHighlighter::xmlDoctypeStartExpression |
|
private |
◆ xmlEntityFormat
QTextCharFormat XmlHighlighter::xmlEntityFormat |
|
private |
◆ xmlOpenTagEndExpression
QRegExp XmlHighlighter::xmlOpenTagEndExpression |
|
private |
◆ xmlOpenTagStartExpression
QRegExp XmlHighlighter::xmlOpenTagStartExpression |
|
private |
◆ xmlProcInstEndExpression
QRegExp XmlHighlighter::xmlProcInstEndExpression |
|
private |
◆ xmlProcInstFormat
QTextCharFormat XmlHighlighter::xmlProcInstFormat |
|
private |
◆ xmlProcInstStartExpression
QRegExp XmlHighlighter::xmlProcInstStartExpression |
|
private |
◆ xmlTagFormat
QTextCharFormat XmlHighlighter::xmlTagFormat |
|
private |
The documentation for this class was generated from the following files: