XML Mill  1.0.0
A GUI based XML editor with a memory.
Classes | Public Member Functions | Protected Member Functions | Private Attributes
XmlSyntaxHighlighter Class Reference

Original class was obtained from here: http://qt.gitorious.org/qt/qt/blobs/HEAD/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h. More...

#include <xmlsyntaxhighlighter.h>

List of all members.

Classes

struct  HighlightingRule

Public Member Functions

 XmlSyntaxHighlighter (QTextDocument *parent=0)

Protected Member Functions

virtual void highlightBlock (const QString &text)

Private Attributes

QVector< HighlightingRulehighlightingRules
QRegExp commentStartExpression
QRegExp commentEndExpression
QTextCharFormat tagFormat
QTextCharFormat attributeFormat
QTextCharFormat attributeContentFormat
QTextCharFormat commentFormat

Detailed Description

Original class was obtained from here: http://qt.gitorious.org/qt/qt/blobs/HEAD/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h.

This version has some alterations made to the regular expressions.

Definition at line 52 of file xmlsyntaxhighlighter.h.


The documentation for this class was generated from the following files: