summaryrefslogtreecommitdiffstats
path: root/kate/data/relaxngcompact.xml
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
commit7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch)
tree3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/relaxngcompact.xml
parent783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff)
downloadtdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz
tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/relaxngcompact.xml')
-rw-r--r--kate/data/relaxngcompact.xml108
1 files changed, 108 insertions, 0 deletions
diff --git a/kate/data/relaxngcompact.xml b/kate/data/relaxngcompact.xml
new file mode 100644
index 000000000..a44012fba
--- /dev/null
+++ b/kate/data/relaxngcompact.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="RelaxNG-Compact" version="0.2" kateversion="2.4" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL">
+ <highlighting>
+ <list name="Keywords">
+ <item> default </item>
+ <item> datatypes </item>
+ <item> div </item>
+ <item> empty </item>
+ <item> external </item>
+ <item> grammar </item>
+ <item> include </item>
+ <item> inherit </item>
+ <item> list </item>
+ <item> mixed </item>
+ <item> namespace </item>
+ <item> notAllowed </item>
+ <item> parent </item>
+ <item> start </item>
+ <item> token </item>
+ </list>
+ <list name="Node Names">
+ <item> attribute </item>
+ <item> element </item>
+ </list>
+ <list name="Datatypes">
+ <item> string </item>
+ <item> text </item>
+ <item> xsd:anyURI </item>
+ <item> xsd:base64Binary </item>
+ <item> xsd:boolean </item>
+ <item> xsd:byte </item>
+ <item> xsd:date </item>
+ <item> xsd:dateTime </item>
+ <item> xsd:decimal </item>
+ <item> xsd:double </item>
+ <item> xsd:duration </item>
+ <item> xsd:ENTITIES </item>
+ <item> xsd:ENTITY </item>
+ <item> xsd:float </item>
+ <item> xsd:gDay </item>
+ <item> xsd:gMonth </item>
+ <item> xsd:gMonthDay </item>
+ <item> xsd:gYear </item>
+ <item> xsd:gYearMonth </item>
+ <item> xsd:hexBinary </item>
+ <item> xsd:ID </item>
+ <item> xsd:IDREF </item>
+ <item> xsd:IDREFS </item>
+ <item> xsd:int </item>
+ <item> xsd:integer </item>
+ <item> xsd:language </item>
+ <item> xsd:long </item>
+ <item> xsd:Name </item>
+ <item> xsd:NCName </item>
+ <item> xsd:negativeInteger </item>
+ <item> xsd:NMTOKEN </item>
+ <item> xsd:NMTOKENS </item>
+ <item> xsd:nonNegativeInteger </item>
+ <item> xsd:nonPositiveInteger </item>
+ <item> xsd:normalizedString </item>
+ <item> xsd:NOTATION </item>
+ <item> xsd:positiveInteger </item>
+ <item> xsd:QName </item>
+ <item> xsd:short </item>
+ <item> xsd:string </item>
+ <item> xsd:time </item>
+ <item> xsd:token </item>
+ <item> xsd:unsignedByte </item>
+ <item> xsd:unsignedInt </item>
+ <item> xsd:unsignedLong </item>
+ <item> xsd:unsignedShort </item>
+ </list>
+ <contexts>
+ <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
+ <DetectChar attribute="Comments" char="#" firstNonSpace="true" context="Comments"/>
+ <DetectChar attribute="String" char="&quot;" context="String" />
+ <keyword attribute="Keywords" context="#stay" String="Keywords" />
+ <keyword attribute="Keywords" context="Node Names" String="Node Names" />
+ <keyword attribute="Datatypes" context="#stay" String="Datatypes" />
+ <RegExpr attribute="Definitions" context="Definitions" String="[\w\.-]+[\s]+=" lookAhead="true" />
+ </context>
+ <context attribute="Comments" lineEndContext="#pop" name="Comments" >
+ </context>
+ <context attribute="String" lineEndContext="#stay" name="String" >
+ <DetectChar attribute="String" context="#pop" char="&quot;" />
+ </context>
+ <context attribute="Node Names" lineEndContext="#pop" name="Node Names" >
+ <DetectChar attribute="Node Names" context="#pop" char="{" lookAhead="true" />
+ </context>
+ <context attribute="Definitions" lineEndContext="#pop" name="Definitions" >
+ <DetectChar attribute="Definitions" context="#pop#pop" char="=" lookAhead="true" />
+ </context>
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal" />
+ <itemData name="Comments" defStyleNum="dsComment" />
+ <itemData name="String" defStyleNum="dsString" />
+ <itemData name="Keywords" defStyleNum="dsKeyword" />
+ <itemData name="Datatypes" defStyleNum="dsDataType" />
+ <itemData name="Node Names" defStyleNum="dsOthers" />
+ <itemData name="Definitions" defStyleNum="dsFunction" />
+ </itemDatas>
+ </highlighting>
+ <general>
+ <keywords weakDeliminator="-:"/>
+ </general>
+</language> \ No newline at end of file