summaryrefslogtreecommitdiffstats
path: root/kate/data/m3u.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/m3u.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/m3u.xml')
-rw-r--r--kate/data/m3u.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/kate/data/m3u.xml b/kate/data/m3u.xml
new file mode 100644
index 000000000..dfa18e4e6
--- /dev/null
+++ b/kate/data/m3u.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+
+<!-- Changelog:
+
+v1.1:
+- mimetype korrigiert zu "audio/mpegurl"
+- Syntax verbessert
+
+v1.0:
+-first Release
+-->
+
+<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/mpegurl" version="1.10" author="Jan Janssen (medhefgo@web.de)" license="LGPL" >
+
+<highlighting>
+<contexts>
+ <context name="M3U" attribute="Normal Text" lineEndContext="#stay">
+ <StringDetect attribute="M3USpec" context="#pop" String="#EXTM3U" column="0" />
+ <StringDetect attribute="EXTINF" context="FindEXTINF" String="#EXTINF" column="0" />
+ <RegExpr attribute="Comment" String="#.*$" firstNonSpace="true" />
+ </context>
+
+ <context name="FindEXTINF" attribute="Normal Text" lineEndContext="#stay">
+ <RegExpr attribute="Lenght" String=":\d+" />
+ <RegExpr attribute="Descr" context="#pop" String=",.*$" />
+ </context>
+</contexts>
+
+<itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal" />
+ <itemData name="M3USpec" defStyleNum="dsKeyword"/>
+ <itemData name="Comment" defStyleNum="dsComment" />
+
+ <itemData name="EXTINF" defStyleNum="dsOthers" />
+ <itemData name="Lenght" defStyleNum="dsDecVal" />
+ <itemData name="Descr" defStyleNum="dsString" />
+</itemDatas>
+</highlighting>
+
+
+<general>
+ <comments>
+ <comment name="singleLine" start="#" />
+ </comments>
+</general>
+
+</language>