| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="WINE Config" version="8" kateversion="5.0" section="Configuration" extensions="*.reg" mimetype=""> |
| 4 |
<highlighting> |
| 5 |
<contexts> |
| 6 |
<context attribute="Normal Text" lineEndContext="#stay" name="Normal"> |
| 7 |
<StringDetect String="WINE REGISTRY Version" attribute="RegistryBeginEnd" context="RegistryBeginEnd" /> |
| 8 |
<RegExpr String="^#\s*<\s*(\/\s*)?wineconf\s*>" attribute="RegistryBeginEnd" context="#stay" column="0"/> |
| 9 |
<RegExpr String="^\[.*\]" attribute="Section" context="#stay" column="0"/> |
| 10 |
<DetectChar char=";" attribute="Comment" context="Comment"/> |
| 11 |
|
| 12 |
<RegExpr String="\s*"\s*[a-zA-Z0-9_.:*]*\s*"" attribute="Key" context="#stay" /> |
| 13 |
|
| 14 |
<DetectChar char="=" attribute="Normal Text" context="Value"/> |
| 15 |
</context> |
| 16 |
|
| 17 |
<context attribute="Normal Text" lineEndContext="#pop" name="Value"> |
| 18 |
<RegExpr String="\s*".*"" attribute="Value" context="#stay" /> |
| 19 |
<DetectChar char=";" attribute="Comment" context="Comment"/> |
| 20 |
</context> |
| 21 |
|
| 22 |
<context attribute="RegistryBeginEnd" lineEndContext="#pop" name="RegistryBeginEnd"/> |
| 23 |
|
| 24 |
<context attribute="Comment" lineEndContext="#pop" name="Comment"> |
| 25 |
<DetectSpaces /> |
| 26 |
<IncludeRules context="##Comments" /> |
| 27 |
</context> |
| 28 |
|
| 29 |
</contexts> |
| 30 |
<itemDatas> |
| 31 |
<itemData name="Normal Text" defStyleNum="dsNormal"/> |
| 32 |
<itemData name="Section" defStyleNum="dsKeyword"/> |
| 33 |
<itemData name="Key" defStyleNum="dsDataType"/> |
| 34 |
<itemData name="Value" defStyleNum="dsNormal" color="#0000FF" selColor="#ffffff" italic="0" bold="1"/> |
| 35 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 36 |
<itemData name="RegistryBeginEnd" defStyleNum="dsNormal" color="#00AAAA" selColor="#ffffff" italic="0" bold="1"/> |
| 37 |
</itemDatas> |
| 38 |
</highlighting> |
| 39 |
<general> |
| 40 |
<comments> |
| 41 |
<comment name="singleLine" start=";"/> |
| 42 |
</comments> |
| 43 |
</general> |
| 44 |
</language> |
| 45 |
<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> |