summaryrefslogtreecommitdiffstats
path: root/kate/data/desktop.xml
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/desktop.xml
downloadtdelibs-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/desktop.xml')
-rw-r--r--kate/data/desktop.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kate/data/desktop.xml b/kate/data/desktop.xml
new file mode 100644
index 000000000..c91e6273f
--- /dev/null
+++ b/kate/data/desktop.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name=".desktop" version="1.04" kateversion="2.4" section="Configuration" extensions="*.desktop;*.kdelnk" mimetype="application/x-desktop">
+ <highlighting>
+ <contexts>
+ <context attribute="Key" lineEndContext="#stay" name="Normal">
+ <RegExpr String="\[.*\]$" attribute="Section" context="#stay" beginRegion="Section" endRegion="Section" column="0"/>
+ <RegExpr String="\[.*\]" attribute="Language" context="Value"/>
+ <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true"/>
+ <DetectChar char="=" attribute="Normal Text" context="Value"/>
+ </context>
+ <context attribute="Normal Text" lineEndContext="#pop" name="Value"/>
+ <context attribute="Comment" lineEndContext="#pop" name="Comment"/>
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Section" defStyleNum="dsKeyword"/>
+ <itemData name="Key" defStyleNum="dsDataType"/>
+ <itemData name="Language" defStyleNum="dsDecVal" bold="1"/>
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ </itemDatas>
+ </highlighting>
+ <general>
+ <comments>
+ <comment name="singleLine" start="#"/>
+ </comments>
+ </general>
+</language>