Warning, /frameworks/syntax-highlighting/data/syntax/xorg.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="x.org Configuration" section="Configuration" extensions="xorg.conf" mimetype="" version="4" kateversion="5.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL">
0004 
0005 <highlighting>
0006 <contexts>
0007  <context name="xorg" attribute="Normal Text" lineEndContext="#stay">
0008   <StringDetect String="Section" attribute="Section" context="Section" beginRegion="Section" insensitive="true" />
0009   <DetectChar char="#" context="Comment" />
0010  </context>
0011 
0012  <context name="Section" attribute="Normal Text" lineEndContext="#stay">
0013   <RangeDetect char="&quot;" char1="&quot;" attribute="Section Name" context="Section Content" />
0014   <RangeDetect char="'" char1="'" attribute="Section Name" context="Section Content" />
0015   <DetectIdentifier attribute="Alert" />
0016   <DetectChar char="#" context="Comment" />
0017  </context>
0018 
0019  <context name="Section Content" attribute="Normal Text" lineEndContext="#stay">
0020   <StringDetect String="EndSection" attribute="Section" context="#pop#pop" endRegion="Section" insensitive="true" />
0021   <StringDetect String="EndSubSection" attribute="Section" context="#pop#pop" endRegion="SubSection" insensitive="true" />
0022   <StringDetect String="SubSection" attribute="Section" context="Section" beginRegion="SubSection" insensitive="true" />
0023   <RegExpr String="\b\w+\b" context="Keyword" />
0024   <DetectChar char="#" context="Comment" />
0025  </context>
0026 
0027  <context name="Keyword" attribute="Keyword" lineEndContext="#pop">
0028   <RangeDetect attribute="Value" char="&quot;" char1="&quot;" />
0029   <RangeDetect attribute="Value" char="'" char1="'" />
0030   <Float attribute="Float" />
0031   <Int attribute="Int" />
0032   <RegExpr attribute="Value2" String="[\w\d]+" />
0033   <DetectChar char="#" context="Comment" />
0034  </context>
0035 
0036  <context name="Comment" attribute="Comment" lineEndContext="#pop">
0037   <DetectSpaces />
0038   <IncludeRules context="##Comments" />
0039   <DetectIdentifier />
0040  </context>
0041 </contexts>
0042 
0043 
0044 <itemDatas>
0045  <itemData name="Normal Text" defStyleNum="dsNormal" />
0046  <itemData name="Section" defStyleNum="dsFunction" />
0047  <itemData name="Section Name" defStyleNum="dsString" />
0048  <itemData name="Value" defStyleNum="dsDataType" />
0049  <itemData name="Keyword" defStyleNum="dsKeyword" />
0050  <itemData name="Alert" defStyleNum="dsError" />
0051  <itemData name="Int" defStyleNum="dsDecVal" />
0052  <itemData name="Value2" defStyleNum="dsOthers" />
0053  <itemData name="Float" defStyleNum="dsFloat" />
0054  <itemData name="Comment" defStyleNum="dsComment" />
0055 </itemDatas>
0056 </highlighting>
0057 
0058 
0059 <general>
0060  <comments>
0061   <comment name="singleLine" start="#" />
0062  </comments>
0063 </general>
0064 
0065 </language>
0066 <!-- kate: replace-tabs on; tab-width 1; indent-width 1; -->