summaryrefslogtreecommitdiff
path: root/share/tinykate/syntax/winehq.xml
Unidiff
Diffstat (limited to 'share/tinykate/syntax/winehq.xml') (more/less context) (ignore whitespace changes)
-rw-r--r--share/tinykate/syntax/winehq.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/share/tinykate/syntax/winehq.xml b/share/tinykate/syntax/winehq.xml
new file mode 100644
index 0000000..3306de4
--- a/dev/null
+++ b/share/tinykate/syntax/winehq.xml
@@ -0,0 +1,35 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE language SYSTEM "language.dtd">
3<language name="WINE Config" section="Other" extensions="*.reg" mimetype="">
4 <highlighting>
5 <contexts>
6 <context attribute="0" lineEndContext="0" name="Normal">
7 <RegExpr String="WINE REGISTRY Version.*$" attribute="7" context="0" />
8 <RegExpr String="^#\s*&lt;\s*wineconf\s*&gt;" attribute="7" context="0" />
9 <RegExpr String="^#\s*&lt;\s*\/\s*wineconf\s*&gt;" attribute="7" context="0" />
10 <RegExpr String="^\[.*\]$" attribute="Section" context="0"/>
11 <RegExpr String=";.*$" attribute="4" context ="0"/>
12
13 <RegExpr String="\s*&quot;\s*[a-zA-Z0-9_.:*]*\s*&quot;" attribute="2" context="0" />
14
15 <DetectChar char="=" attribute="0" context="1"/>
16 </context>
17
18 <context attribute="0" lineEndContext="0" name="Value">
19 <RegExpr String="\s*&quot;.*&quot;" attribute="3" context="1" />
20 <RegExpr String=";.*$" attribute="4" context="1"/>
21 </context>
22
23 </contexts>
24 <itemDatas>
25 <itemData name="Normal Text" defStyleNum="dsNormal"/>
26 <itemData name="Section" defStyleNum="dsKeyword"/>
27 <itemData name="Key" defStyleNum="dsDataType"/>
28 <itemData name="Value" defStyleNum="dsNormal" color="#0000FF" selColor="#ffffff" italic="0" bold="1"/>
29 <itemData name="Comment" defStyleNum="dsComment"/>
30 <itemData name="ValueFilesystem1" defStyleNum="dsNormal" color="#00AA00" selColor="#ffffff" italic="0" bold="1"/>
31 <itemData name="ValueFilesystem2" defStyleNum="dsNormal" color="#FF0000" selColor="#ffffff" italic="0" bold="1"/>
32 <itemData name="RegistryBeginEnd" defStyleNum="dsNormal" color="#00AAAA" selColor="#ffffff" italic="0" bold="1"/>
33 </itemDatas>
34 </highlighting>
35</language>