summaryrefslogtreecommitdiff
path: root/lib/prado/framework/3rdParty/TextHighlighter/Text/xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prado/framework/3rdParty/TextHighlighter/Text/xml.xml')
-rw-r--r--lib/prado/framework/3rdParty/TextHighlighter/Text/xml.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/prado/framework/3rdParty/TextHighlighter/Text/xml.xml b/lib/prado/framework/3rdParty/TextHighlighter/Text/xml.xml
new file mode 100644
index 0000000..a80ffc1
--- /dev/null
+++ b/lib/prado/framework/3rdParty/TextHighlighter/Text/xml.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!-- $Id: xml.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
+
+<highlight lang="xml" case="no">
+
+ <authors>
+ <author name="Andrey Demenev" email="demenev@gmail.com"/>
+ </authors>
+
+
+ <default innerClass="code" />
+
+ <region name="cdata" delimClass="comment" innerClass="comment"
+ start="\&lt;\!\[CDATA\[" end="\]\]\&gt;">
+ </region>
+
+ <region name="comment" delimClass="comment" innerClass="comment"
+ start="\&lt;!--" end="--\&gt;">
+ </region>
+
+ <region name="tag" delimClass="brackets" innerClass="code" start="\&lt;[\?\/]?" end="[\/\?]?\&gt;">
+ <contains block="tagname"/>
+ <contains region="param"/>
+ <contains block="paramname"/>
+ </region>
+
+ <block name="tagname" match="(?&lt;=[\&lt;\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/>
+
+ <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/>
+
+ <block name="entity" match="(&amp;|%)[\w\-\.]+;" innerClass="special" />
+
+ <region name="param" start="&quot;" end="&quot;" delimClass="quotes" innerClass="string" contained="yes">
+ <contains block="entity"/>
+ </region>
+
+</highlight>