summaryrefslogtreecommitdiff
path: root/share/tinykate/syntax/kbasic.xml
authormickeyl <mickeyl>2003-01-24 21:13:38 (UTC)
committer mickeyl <mickeyl>2003-01-24 21:13:38 (UTC)
commitf5fa70864c66da0f12f3d34f6451c74e3bfb3103 (patch) (side-by-side diff)
treead6585cc10ba3397bed82c87a1b692fa0a4b9e43 /share/tinykate/syntax/kbasic.xml
parent67699ef8fd807a99c08d6401a67e8000bca8f1ca (diff)
downloadopie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.zip
opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.gz
opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.bz2
added syntax highlighting patterns to tinykate
Diffstat (limited to 'share/tinykate/syntax/kbasic.xml') (more/less context) (ignore whitespace changes)
-rw-r--r--share/tinykate/syntax/kbasic.xml97
1 files changed, 97 insertions, 0 deletions
diff --git a/share/tinykate/syntax/kbasic.xml b/share/tinykate/syntax/kbasic.xml
new file mode 100644
index 0000000..1a57dc7
--- a/dev/null
+++ b/share/tinykate/syntax/kbasic.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="KBasic" version="1.00" kateversion="2.0" section="Sources" extensions="*.kbasic" mimetype="text/x-kbasic-src">
+ <highlighting>
+ <list name="keywords">
+ <item> For </item>
+ <item> Next</item>
+ <item> Do </item>
+ <item> Loop </item>
+ <item> While </item>
+ <item> Wend </item>
+ <item> Until </item>
+ <item> If </item>
+ <item> Else </item>
+ <item> End </item>
+ <item> Function </item>
+ <item> Goto </item>
+ <item> Sub </item>
+ <item> Implements </item>
+ <item> In </item>
+ <item> Sub </item>
+ <item> Private </item>
+ <item> Public </item>
+ <item> Global </item>
+ <item> As </item>
+ <item> Dim </item>
+ <item> Set </item>
+ <item> Let </item>
+ <item> Get </item>
+ <item> To </item>
+ <item> Property </item>
+ <item> True </item>
+ <item> False </item>
+ <item> Or </item>
+ <item> Not </item>
+ <item> Xor </item>
+ <item> And </item>
+ <item> Then </item>
+ <item> Exit </item>
+ <item> Put </item>
+ <item> Open </item>
+ <item> Close </item>
+ <item> Seek </item>
+ <item> Print </item>
+ <item> Input</item>
+ <item> Output </item>
+ <item> Repeat </item>
+ <item> Load </item>
+ <item> Unload </item>
+ <item> Declare </item>
+ <item> Option </item>
+ <item> Explicit </item>
+ </list>
+ <list name="types">
+ <item>Integer </item>
+ <item>Long </item>
+ <item>Byte </item>
+ <item>Boolean </item>
+ <item>Variant </item>
+ <item>Single </item>
+ <item>Double </item>
+ <item>Currency </item>
+ <item>String </item>
+ <item>Object </item>
+ <item>Control </item>
+ </list>
+ <contexts>
+ <context attribute="0" lineEndContext="0">
+ <keyword attribute="1" context="0" String="keywords"/>
+ <keyword attribute="2" context="0" String="types"/>
+ <Float attribute="4" context="0"/>
+ <Int attribute="3" context="0"/>
+ <DetectChar attribute="4" context="2" char="quot;"/>
+ <DetectChar attribute="5" context="1" char="'"/>
+ </context>
+ <context attribute="5" lineEndContext="0"/>
+ <context attribute="4" lineEndContext="0">
+ <DetectChar attribute="4" context="0" char="'"/>
+ </context>
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Keyword" defStyleNum="dsKeyword"/>
+ <itemData name="Identifier" defStyleNum="dsOthers"/>
+ <itemData name="Types" defStyleNum="dsDataType"/>
+ <itemData name="String" defStyleNum="dsString"/>
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ </itemDatas>
+ </highlighting>
+ <general>
+ <comments>
+ <comment name="singleLine" start="//" />
+ <comment name="multiLine" start="/*" end="*/" />
+ </comments>
+ <keywords casesensitive="1" />
+ </general>
+</language>