summaryrefslogtreecommitdiffstats
path: root/kate/data/tads3.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/tads3.xml
parent783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff)
downloadtdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz
tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/tads3.xml')
-rw-r--r--kate/data/tads3.xml175
1 files changed, 175 insertions, 0 deletions
diff --git a/kate/data/tads3.xml b/kate/data/tads3.xml
new file mode 100644
index 000000000..9114633e6
--- /dev/null
+++ b/kate/data/tads3.xml
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<!-- TADS 3 syntax highlight definition for Kate. -->
+<!-- Author: Nikos Chantziaras <realnc@gmail.com> -->
+<language name="TADS 3" section="Sources"
+ version="1.0" kateversion="2.4"
+ indenter="cstyle"
+ extensions="*.t;*.h"
+ mimetype=""
+ priority="0">
+
+<highlighting>
+ <list name="keywords">
+ <item> abort </item>
+ <item> and </item>
+ <item> argcount </item>
+ <item> break </item>
+ <item> case </item>
+ <item> catch </item>
+ <item> class </item>
+ <item> construct </item>
+ <item> continue </item>
+ <item> default </item>
+ <item> definingobj </item>
+ <item> delegated </item>
+ <item> dictionary </item>
+ <item> do </item>
+ <item> else </item>
+ <item> enum </item>
+ <item> exit </item>
+ <item> export </item>
+ <item> extern </item>
+ <item> finalize </item>
+ <item> finally </item>
+ <item> for </item>
+ <item> foreach </item>
+ <item> function </item>
+ <item> goto </item>
+ <item> grammar </item>
+ <item> if </item>
+ <item> in </item>
+ <item> inherited </item>
+ <item> intrinsic </item>
+ <item> is </item>
+ <item> local </item>
+ <item> modify </item>
+ <item> new </item>
+ <item> nil </item>
+ <item> not </item>
+ <item> object </item>
+ <item> or </item>
+ <item> property </item>
+ <item> propertyset </item>
+ <item> replace </item>
+ <item> replaced </item>
+ <item> return </item>
+ <item> self </item>
+ <item> static </item>
+ <item> switch </item>
+ <item> targetobj </item>
+ <item> targetprop </item>
+ <item> template </item>
+ <item> throw </item>
+ <item> token </item>
+ <item> transient </item>
+ <item> true </item>
+ <item> try </item>
+ <item> while </item>
+ </list>
+
+ <contexts>
+ <context attribute="Normal Text" lineEndContext="#stay" name="Normal">
+ <keyword attribute="Keyword" context="#stay" String="keywords"/>
+ <HlCOct attribute="Octal" context="#stay"/>
+ <HlCHex attribute="Hex" context="#stay"/>
+ <Int attribute="Decimal" context="#stay"/>
+ <DetectChar attribute="String" context="String" char="&quot;"/>
+ <DetectChar attribute="ValString" context="ValString" char="'"/>
+ <Detect2Chars attribute="Comment" context="ShortComment" char="/" char1="/"/>
+ <Detect2Chars attribute="Comment" context="LongComment" char="/" char1="*" beginRegion="Comment"/>
+ <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace1"/>
+ <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace1"/>
+ <AnyChar attribute="Symbol" context="#stay" String="!%&amp;()+,-&lt;=&gt;?[]^{|}~"/>
+ <RegExpr attribute="Preprocessor" context="Preprocessor" String="#"/>
+ </context>
+
+ <context attribute="String" lineEndContext="#stay" name="String">
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="&quot;"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="n"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="r"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="t"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="b"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="^"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="v"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=" "/>
+ <Detect2Chars attribute="Embedded Expression" context="embedded" char="&lt;" char1="&lt;"/>
+ <DetectChar attribute="HTML Tag" context="htmltag" char="&lt;"/>
+ <DetectChar attribute="String" context="#pop" char="&quot;"/>
+ </context>
+
+ <context attribute="ValString" lineEndContext="#stay" name="ValString">
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="'"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="n"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="r"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="t"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="b"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="^"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="v"/>
+ <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=" "/>
+ <DetectChar attribute="HTML Tag" context="htmltag" char="&lt;"/>
+ <DetectChar attribute="String" context="#pop" char="'"/>
+ </context>
+
+ <context attribute="Comment" lineEndContext="#pop" name="ShortComment">
+ <RegExpr attribute="Preprocessor" context="#stay" String="(FIXME|TODO)"/>
+ </context>
+
+ <context attribute="Comment" lineEndContext="#stay" name="LongComment">
+ <RegExpr attribute="Preprocessor" context="#stay" String="(FIXME|TODO)"/>
+ <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
+ </context>
+
+ <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
+ <LineContinue attribute="Preprocessor" context="#stay"/>
+ <RangeDetect attribute="String" context="#stay" char="&quot;" char1="&quot;"/>
+ <RangeDetect attribute="String" context="#stay" char="&lt;" char1="&gt;"/>
+ <Detect2Chars attribute="Comment" context="ShortComment" char="/" char1="/"/>
+ <Detect2Chars attribute="Comment" context="LongComment/Preprocessor" char="/" char1="*"/>
+ </context>
+
+ <context attribute="Comment" lineEndContext="#stay" name="LongComment/Preprocessor">
+ <RegExpr attribute="Preprocessor" context="#stay" String="(FIXME|TODO)"/>
+ <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/>
+ </context>
+
+ <context name="embedded" attribute="Embedded Expression" lineEndContext="#stay">
+ <Detect2Chars attribute="Embedded Expression" context="#pop" char="&gt;" char1="&gt;"/>
+ </context>
+
+ <context name="htmltag" attribute="HTML Tag" lineEndContext="#stay">
+ <Detect2Chars attribute="HTML Tag" context="#pop" char="/" char1="&gt;"/>
+ <DetectChar attribute="HTML Tag" context="#pop" char="&gt;"/>
+ </context>
+ </contexts>
+
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Keyword" defStyleNum="dsKeyword"/>
+ <itemData name="Decimal" defStyleNum="dsDecVal"/>
+ <itemData name="Octal" defStyleNum="dsBaseN"/>
+ <itemData name="Hex" defStyleNum="dsBaseN"/>
+ <itemData name="String" defStyleNum="dsString"/>
+ <itemData name="ValString" defStyleNum="dsString"/>
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ <itemData name="Symbol" defStyleNum="dsNormal"/>
+ <itemData name="Preprocessor" defStyleNum="dsOthers"/>
+ <itemData name="Backslash Code" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="1" italic="0"/>
+ <itemData name="HTML Tag" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="0" italic="1"/>
+ <itemData name="Embedded Expression" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="0" italic="1"/>
+ </itemDatas>
+
+</highlighting>
+
+<general>
+ <comments>
+ <comment name="singleLine" start="//"/>
+ <comment name="multiLine" start="/*" end="*/"/>
+ </comments>
+
+ <keywords casesensitive="1"/>
+</general>
+
+</language> \ No newline at end of file