author | mickeyl <mickeyl> | 2003-01-24 21:13:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-01-24 21:13:38 (UTC) |
commit | f5fa70864c66da0f12f3d34f6451c74e3bfb3103 (patch) (unidiff) | |
tree | ad6585cc10ba3397bed82c87a1b692fa0a4b9e43 /share/tinykate/syntax/winehq.xml | |
parent | 67699ef8fd807a99c08d6401a67e8000bca8f1ca (diff) | |
download | opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.zip opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.gz opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.bz2 |
added syntax highlighting patterns to tinykate
Diffstat (limited to 'share/tinykate/syntax/winehq.xml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | share/tinykate/syntax/winehq.xml | 35 |
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*<\s*wineconf\s*>" attribute="7" context="0" /> | ||
9 | <RegExpr String="^#\s*<\s*\/\s*wineconf\s*>" attribute="7" context="0" /> | ||
10 | <RegExpr String="^\[.*\]$" attribute="Section" context="0"/> | ||
11 | <RegExpr String=";.*$" attribute="4" context ="0"/> | ||
12 | |||
13 | <RegExpr String="\s*"\s*[a-zA-Z0-9_.:*]*\s*"" 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*".*"" 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> | ||