Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (58 sloc) 3.11 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Aspen Simplate"
version="1.0"
kateversion="2.4"
section="Other"
extensions="*.spt"
mimetype="text/x-simplate"
indenter="python"
casesensitive="1"
author="Changaco (changaco@changaco.oy.lc)"
license="LGPL">
<highlighting>
<contexts>
<context name="Page1" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="PageSeparator" context="#pop#Page2" String="^\[-{3,}\]$" />
<RegExpr attribute="" context="#pop#PageNegotiated" String="^\[-{3,}\]" lookAhead="true" />
<IncludeRules context="##Python" includeAttrib="true" />
</context>
<context name="#Page2" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="" context="#pop#PageNegotiated" String="^\[-{3,}\]" lookAhead="true" />
<IncludeRules context="##Python" includeAttrib="true" />
</context>
<context name="#PageNegotiated" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="PageSeparator" context="PageHTML" String="^\[-{3,}\] +text/html( +via +\w+)?" />
<RegExpr attribute="PageSeparator" context="PageHTML" String="^\[-{3,}\] +([^ ]+ +)?via +\w*html\w*" />
<RegExpr attribute="PageSeparator" context="PageXML" String="^\[-{3,}\] +(\w+/([\w.-]+\+)?xml)( +via +\w+)?" />
<RegExpr attribute="PageSeparator" context="PageJS" String="^\[-{3,}\] +application/javascript( +via +\w+)?" />
<RegExpr attribute="PageSeparator" context="PagePlain" String="^\[-{3,}\] +text/plain( +via +\w+)?" />
<RegExpr attribute="PageSeparator" context="PageUnknown" String="^\[-{3,}\].+" />
<RegExpr attribute="PageSeparator" context="PageHTML" String="^\[-{3,}\]$" />
</context>
<context name="PageHTML" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="" context="#pop" String="^\[-{3,}\]" lookAhead="true" />
<IncludeRules context="##HTML" includeAttrib="true" />
</context>
<context name="PageXML" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="" context="#pop" String="^\[-{3,}\]" lookAhead="true" />
<IncludeRules context="##XML" includeAttrib="true" />
</context>
<context name="PageJS" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="" context="#pop" String="^\[-{3,}\]" lookAhead="true" />
<IncludeRules context="Normal##JavaScript" includeAttrib="true" />
</context>
<context name="PagePlain" attribute="Text" lineEndContext="#stay">
<RegExpr attribute="" context="#pop" String="^\[-{3,}\]" lookAhead="true" />
</context>
<context name="PageUnknown" attribute="Normal" lineEndContext="#stay">
<RegExpr attribute="" context="#pop" String="^\[-{3,}\]" lookAhead="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Text" defStyleNum="dsNormal" spellChecking="true" />
<itemData name="PageSeparator" defStyleNum="dsRegionMarker" spellChecking="false" />
</itemDatas>
</highlighting>
</language>