summaryrefslogtreecommitdiffstats
path: root/kate/data/debiancontrol.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/debiancontrol.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/debiancontrol.xml')
-rw-r--r--kate/data/debiancontrol.xml61
1 files changed, 61 insertions, 0 deletions
diff --git a/kate/data/debiancontrol.xml b/kate/data/debiancontrol.xml
new file mode 100644
index 000000000..76b761863
--- /dev/null
+++ b/kate/data/debiancontrol.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="Debian Control" version="0.82" kateversion="2.4" section="Other" extensions="" mimetype="">
+ <highlighting>
+ <contexts>
+ <context attribute="Normal Text" lineEndContext="#stay" name="INIT">
+ <StringDetect attribute="Keyword" context="DependencyField" String="Depends:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Recommends:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Suggests:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Conflicts:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Provides:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Replaces:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Enhances:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Pre-Depends:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Build-Depends:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Build-Depends-Indep:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Build-Conflicts:"/>
+ <StringDetect attribute="Keyword" context="DependencyField" String="Build-Conflicts-Indep:"/>
+ <RegExpr attribute="Keyword" context="Field" minimal="true" String="[^ ]*:" column="0"/>
+ <DetectChar attribute="Value" context="Field" char=" " column="0"/>
+ </context>
+
+ <context attribute="Value" lineEndContext="#pop" name="Field">
+ <RegExpr attribute="Email" context="#stay" String="&lt;.*@.*&gt;" minimal="true"/>
+ <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
+ </context>
+
+ <context attribute="Variable" lineEndContext="#pop" name="Variable">
+ <DetectChar attribute="Keyword" context="#pop" char="}"/>
+ </context>
+
+ <context attribute="Value" lineEndContext="#pop" name="DependencyField">
+ <RegExpr attribute="Email" context="#stay" String="&lt;.*@.*&gt;" minimal="true"/>
+ <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
+ <RegExpr attribute="Keyword" context="#stay" String="[,\|]"/>
+ <DetectChar attribute="Keyword" context="Constrain" char="("/>
+ <DetectChar attribute="Keyword" context="Constrain" char="["/>
+ </context>
+
+ <context attribute="Version" lineEndContext="#stay" name="Constrain">
+ <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
+ <RegExpr attribute="Keyword" context="#stay" String="[!&lt;=&gt;]"/>
+ <DetectChar attribute="Keyword" context="#pop" char=")"/>
+ <DetectChar attribute="Keyword" context="#pop" char="]"/>
+ </context>
+ </contexts>
+
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Keyword" defStyleNum="dsKeyword"/>
+ <itemData name="Version" defStyleNum="dsDecVal"/>
+ <itemData name="Value" defStyleNum="dsDataType"/>
+ <itemData name="Variable" defStyleNum="dsOthers"/>
+ <itemData name="Email" defStyleNum="dsOthers"/>
+ </itemDatas>
+ </highlighting>
+
+ <general>
+ <keywords casesensitive="1" />
+ </general>
+</language>