summaryrefslogtreecommitdiff
path: root/framework/3rdParty/TextHighlighter/Text/prado.xml
diff options
context:
space:
mode:
authorxue <>2007-07-20 12:33:27 +0000
committerxue <>2007-07-20 12:33:27 +0000
commit786dde43ea21c1990071683a8cf5efd3bd1b791d (patch)
tree34d7e664f974976e800ac8cc790a8046854e8238 /framework/3rdParty/TextHighlighter/Text/prado.xml
parent46f58667d00624c115ad99a590aebef99ab133a5 (diff)
Replaced GeSHi with Text_Highlighter
Diffstat (limited to 'framework/3rdParty/TextHighlighter/Text/prado.xml')
-rw-r--r--framework/3rdParty/TextHighlighter/Text/prado.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/framework/3rdParty/TextHighlighter/Text/prado.xml b/framework/3rdParty/TextHighlighter/Text/prado.xml
new file mode 100644
index 00000000..480b0bbe
--- /dev/null
+++ b/framework/3rdParty/TextHighlighter/Text/prado.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!-- $Id: xml.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
+
+<highlight lang="prado" 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="pradoComponent"/>
+ <contains block="tagname"/>
+ <contains region="param"/>
+ <contains block="paramname"/>
+
+ </region>
+
+ <block name="pradoComponent" match="(?&lt;=[\&lt;\/?])com:\w+" innerClass="special" contained="yes"/>
+ <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>