diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/spice.xml | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/spice.xml')
-rw-r--r-- | kate/data/spice.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/kate/data/spice.xml b/kate/data/spice.xml new file mode 100644 index 000000000..03b183acf --- /dev/null +++ b/kate/data/spice.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<language name="Spice" section="Hardware" version="1.01" kateversion="2.3" extensions="*.sp;*.hsp" mimetype="text/spice" author="Steven Robson (s.a.robson@sms.ed.ac.uk) and Anders Lund" license="LGPL"> + <highlighting> + + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Keyword" context="#stay" String="\B\.\w+" /> + <Int attribute="Number" context="#stay"/> + <Float attribute="Number" context="#stay"/> + <AnyChar attribute="Comment" String="$*" context="Commentar 1" /> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="String" context="String" char="'"/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Number" defStyleNum="dsDecVal"/> + </itemDatas> + + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="*" /> + </comments> + <keywords casesensitive="1" weakDeliminator="."/> + </general> +</language> |