Warning, /frameworks/syntax-highlighting/data/syntax/java-properties.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language>
0003 <language name="Java Properties" version="6" kateversion="5.0" section="Other" extensions="*.properties" author="Matthias Böhm (MatthiasBoehm87 _at_ gmail.com)" license="MIT">
0004   <highlighting>
0005     <contexts>
0006       <context name="key" attribute="Key" lineEndContext="#stay">
0007           <LineContinue char="=" attribute="Separator" column="0"/>
0008           <LineContinue char=":" attribute="Separator" column="0"/>
0009           <AnyChar String="=:" attribute="Separator" context="value" column="0"/>
0010           <AnyChar String="#!" attribute="Comment" context="comment" firstNonSpace="true"/>
0011           <RegExpr String="(?:[^=:\s\\]|\\.)*\s*(?==|:)" attribute="Key" context="separator"/>
0012           <RegExpr String="(?:[^=:\s\\]|\\.)+\s+(?=\S)" attribute="Key" context="value"/>
0013       </context>
0014       <context name="separator" attribute="Key" lineEndContext="#pop" >
0015           <LineContinue char="=" attribute="Separator" context="#pop" />
0016           <LineContinue char=":" attribute="Separator" context="#pop" />
0017           <AnyChar String="=:" attribute="Separator" context="#pop!value"/>
0018       </context>
0019       <context name="value" attribute="Value" lineEndContext="#stay">
0020           <RegExpr String="(?:[^\\]|\\.)*$" attribute="Value" context="#pop!continueWithKey"/>
0021           <RegExpr String="(?:[^\\]|\\.)*\\$" attribute="Value" context="#pop!continueWithValue"/>
0022       </context>
0023       <context name="continueWithKey" attribute="Key" lineEndContext="#pop" />
0024       <context name="continueWithValue" attribute="Value" lineEndContext="#pop!value" />
0025       <context name="comment" attribute="Comment" lineEndContext="#pop">
0026           <DetectSpaces />
0027           <IncludeRules context="##Comments" />
0028       </context>
0029     </contexts>
0030     <itemDatas>
0031       <itemData name="Key" spellChecking="false" defStyleNum="dsOthers"/>
0032       <itemData name="Value" spellChecking="false" defStyleNum="dsString"/>
0033       <itemData name="Comment" spellChecking="true" defStyleNum="dsComment"/>
0034       <itemData name="Separator" spellChecking="false" defStyleNum="dsVariable"/>
0035     </itemDatas>
0036   </highlighting>
0037   <general>
0038     <comments>
0039       <comment name="singleLine" start="#"/>
0040     </comments>
0041   </general>
0042 </language>