author | mickeyl <mickeyl> | 2003-01-24 21:13:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-01-24 21:13:38 (UTC) |
commit | f5fa70864c66da0f12f3d34f6451c74e3bfb3103 (patch) (side-by-side diff) | |
tree | ad6585cc10ba3397bed82c87a1b692fa0a4b9e43 /share/tinykate/syntax/eiffel.xml | |
parent | 67699ef8fd807a99c08d6401a67e8000bca8f1ca (diff) | |
download | opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.zip opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.gz opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.bz2 |
added syntax highlighting patterns to tinykate
Diffstat (limited to 'share/tinykate/syntax/eiffel.xml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | share/tinykate/syntax/eiffel.xml | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/share/tinykate/syntax/eiffel.xml b/share/tinykate/syntax/eiffel.xml new file mode 100644 index 0000000..548d779 --- a/dev/null +++ b/share/tinykate/syntax/eiffel.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Eiffel" version="1.00" kateversion="2.0" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src"> + <highlighting> + <list name="keywords"> + <item> indexing </item> + <item> class </item> + <item> inherit </item> + <item> creation </item> + <item> feature </item> + <item> rename </item> + <item> redefine </item> + <item> undefine </item> + <item> select </item> + <item> export </item> + <item> local </item> + <item> deferred </item> + <item> do </item> + <item> is </item> + <item> once </item> + <item> alias </item> + <item> external </item> + <item> rescue </item> + <item> debug </item> + <item> if </item> + <item> inspect </item> + <item> from </item> + <item> else </item> + <item> elseif </item> + <item> when </item> + <item> until </item> + <item> loop </item> + <item> then </item> + <item> obsolete </item> + <item> end </item> + </list> + <list name="assertions"> + <item> check </item> + <item> ensure </item> + <item> require </item> + <item> variant </item> + <item> invariant </item> + </list> + <contexts> + <context attribute="0" lineEndContext="#stay"> + <keyword attribute="1" context="#stay" String="keywords"/> + <Float attribute="3" context="#stay"/> + <Int attribute="2" context="#stay"/> + <RegExpr attribute="4" context="#stay" String="'.'"/> + <DetectChar attribute="5" context="1" char="""/> + <Detect2Chars attribute="6" context="2" char="-" char1="-"/> + <keyword attribute="7" context="#stay" String="assertions"/> + </context> + <context attribute="5" lineEndContext="#pop"> + <DetectChar attribute="5" context="#pop" char="""/> + </context> + <context attribute="6" lineEndContext="#pop"/> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Assertions" defStyleNum="dsOthers" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> |