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