Diffstat (limited to 'share/tinykate/syntax/desktop.xml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | share/tinykate/syntax/desktop.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/share/tinykate/syntax/desktop.xml b/share/tinykate/syntax/desktop.xml new file mode 100644 index 0000000..3c1f6e3 --- a/dev/null +++ b/share/tinykate/syntax/desktop.xml | |||
@@ -0,0 +1,20 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE language SYSTEM "language.dtd"> | ||
3 | <language name=".desktop" section="Other" extensions="*.desktop;*.kdelnk" mimetype="application/x-desktop"> | ||
4 | <highlighting> | ||
5 | <contexts> | ||
6 | <context attribute="2" lineEndContext="#stay" name="Normal"> | ||
7 | <RegExpr String="^\[.*\]$" attribute="Section" context="#stay"/> | ||
8 | <RegExpr String="\[.*\]" attribute="Language" context="1"/> | ||
9 | <DetectChar char="=" attribute="0" context="1"/> | ||
10 | </context> | ||
11 | <context attribute="0" lineEndContext="#pop" name="Value"/> | ||
12 | </contexts> | ||
13 | <itemDatas> | ||
14 | <itemData name="Normal Text" defStyleNum="dsNormal"/> | ||
15 | <itemData name="Section" defStyleNum="dsKeyword"/> | ||
16 | <itemData name="Key" defStyleNum="dsDataType"/> | ||
17 | <itemData name="Language" defStyleNum="dsNormal" color="#0000FF" selColor="#ffffff" italic="0" bold="1"/> | ||
18 | </itemDatas> | ||
19 | </highlighting> | ||
20 | </language> | ||