<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="commonoptions" version="0.1" section="Test" extensions="*.commonoptions;">
<highlighting>
<contexts>
<context name="Base" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="Test Area" context="C" String="<C>" />
<StringDetect attribute="Test Area" context="CFNS" String="<CFNS>" />
<StringDetect attribute="Test Area" context="FNS" String="<FNS>" />
<StringDetect attribute="Test Area" context="L" String="<L>" />
<IncludeRules context="##XML" />
</context>
<context name="Comment" attribute="Comment" lineEndContext="#pop">
</context>
<!-- Testing default without options -->
<context name="C" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" context="#stay" column="5" String="\d" />
<StringDetect attribute="Test Area" context="#pop" String="<C>" />
</context>
<context name="CFNS" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" firstNonSpace="true" context="#stay" column="5" String="\d" />
<StringDetect attribute="Test Area" context="#pop" String="<CFNS>" />
</context>
<context name="FNS" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<RegExpr attribute="Match" firstNonSpace="true" context="#stay" String="\d" />
<StringDetect attribute="Test Area" context="#pop" String="<FNS>" />
</context>
<context name="L" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<StringDetect attribute="Match2" lookAhead="true" context="LT" String="aap" />
<StringDetect attribute="Test Area" context="#pop" String="<L>" />
</context>
<context name="LT" attribute="Test Area" lineEndContext="#stay">
<DetectChar attribute="Comment" context="Comment" char="#" />
<!-- tests go here -->
<StringDetect attribute="Match" context="#pop" String="aap" />
<StringDetect attribute="Test Area" context="#pop#pop" String="<L>" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Test Area" defStyleNum="dsOthers" />
<itemData name="Match" defStyleNum="dsDataType" />
<itemData name="Match2" defStyleNum="dsString" />
<itemData name="Match3" defStyleNum="dsChar" />
<itemData name="Match4" defStyleNum="dsDataType" />
<itemData name="Match5" defStyleNum="dsString" />
<itemData name="Comment" defStyleNum="dsComment" />
</itemDatas>
</highlighting>
<general>
<keywords casesensitive="1" weakDeliminator="."/>
</general>
</language>