You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kate/data/m3u.xml

52 lines
1.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Changelog:
v1.2: (kde4)
- mimetype set to audio/x-mpegurl (fdo standard)
v1.1:
- mimetype korrigiert zu "audio/mpegurl"
- Syntax verbessert
v1.0:
-first Release
-->
<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/x-mpegurl" version="1.10-1" kateversion="2.0" 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">
13 years ago
<RegExpr attribute="Length" 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" />
13 years ago
<itemData name="Length" defStyleNum="dsDecVal" />
<itemData name="Descr" defStyleNum="dsString" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
</general>
</language>