Debian Codegraph @

data/syntax/desktop.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE language>
3 <language name=".desktop" version="6" kateversion="5.0"
4 section="Configuration" extensions="*.desktop;*.kdelnk;*.desktop.cmake"
5 mimetype="application/x-desktop">
6 <highlighting>
7 <contexts>
8 <context attribute="Key" lineEndContext="#stay" name="Normal">
9 <RegExpr String="^\[.*\]$" attribute="Section" context="#stay" beginRegion="Section" endRegion="Section" column="0"/>
10 <RegExpr String="\[.*\]" attribute="Language" context="Value"/>
11 <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true"/>
12 <DetectChar char="=" attribute="Normal Text" context="Value"/>
13 </context>
14 <context attribute="Normal Text" lineEndContext="#pop" name="Value"/>
15 <context attribute="Comment" lineEndContext="#pop" name="Comment">
16 <DetectSpaces />
17 <IncludeRules context="##Comments"/>
18 </context>
19 </contexts>
20 <itemDatas>
21 <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
22 <itemData name="Section" defStyleNum="dsKeyword" spellChecking="false"/>
23 <itemData name="Key" defStyleNum="dsDataType" spellChecking="false"/>
24 <itemData name="Language" defStyleNum="dsDecVal" bold="1" spellChecking="false"/>
25 <itemData name="Comment" defStyleNum="dsComment"/>
26 </itemDatas>
27 </highlighting>
28 <general>
29 <comments>
30 <comment name="singleLine" start="#"/>
31 </comments>
32 </general>
33 </language>
34 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->