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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name=".desktop" section="Other" extensions="*.desktop;*.kdelnk" mimetype="application/x-desktop"> + <highlighting> + <contexts> + <context attribute="2" lineEndContext="#stay" name="Normal"> + <RegExpr String="^\[.*\]$" attribute="Section" context="#stay"/> + <RegExpr String="\[.*\]" attribute="Language" context="1"/> + <DetectChar char="=" attribute="0" context="1"/> + </context> + <context attribute="0" lineEndContext="#pop" name="Value"/> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Section" defStyleNum="dsKeyword"/> + <itemData name="Key" defStyleNum="dsDataType"/> + <itemData name="Language" defStyleNum="dsNormal" color="#0000FF" selColor="#ffffff" italic="0" bold="1"/> + </itemDatas> + </highlighting> +</language> |