<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>
<language name="ABC" version="8" kateversion="5.0" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" casesensitive="1" author="Andrea Primiani (primiani@dag.it)" license="LGPL">
<highlighting>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Tuplet" context="#stay" String="\([23456789]:?[23456789]?:?[23456789]?" />
<RangeDetect attribute="String" context="#stay" char=""" char1="""/>
<RangeDetect attribute="Decoration" context="#stay" char="!" char1="!" />
<RegExpr attribute="Header" context="Header" String="\[[ABCGHILMNOQRSTUVZ]:" />
<RegExpr attribute="Header" context="Header2" String="[ABCGHILMNOPQRSTUVZ]:" />
<Detect2Chars attribute="Header" context="Header" char="X" char1=":" beginRegion="header" column="0"/>
<AnyChar attribute="Bar" context="Bar" String="|:[" />
<DetectChar attribute="Bar" context="#stay" char="]" />
<AnyChar attribute="Slur" context="#stay" String="(){}" />
<Detect2Chars attribute="Lyrics" context="Lyrics" char="W" char1=":" />
<Detect2Chars attribute="Lyrics" context="Lyrics" char="w" char1=":" />
<Detect2Chars attribute="Preprocessor" context="Preprocessor" char="%" char1="%"/>
<DetectChar attribute="Comment" context="Comment" char="%" />
<RegExpr attribute="Sharp" context="#stay" String="[_|\^]?[_|=|\^][A-Ga-g]" />
</context>
<context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop" />
<context name="Lyrics" attribute="Lyrics" lineEndContext="#pop" />
<context name="Comment" attribute="Comment" lineEndContext="#pop">
<IncludeRules context="##Comments" />
</context>
<context name="Bar" attribute="Bar" lineEndContext="#pop" >
<DetectChar attribute="Normal Text" context="#pop" char=""" />
<RegExpr attribute="Normal Text" context="#pop" String="[A-Ga-gZz]" />
<DetectChar attribute="Normal Text" context="#pop" char=" " />
<RangeDetect attribute="Decoration" context="#stay" char="!" char1="!" />
<AnyChar attribute="Slur" context="#stay" String="()" />
<RegExpr attribute="Bar" context="#pop" String=":*\|*[1-9]|/*\|" />
</context>
<context name="Header" attribute="Header" lineEndContext="#stay">
<RegExpr attribute="Header" context="#pop" String="^K:.+" endRegion="header" column="0"/>
<DetectChar attribute="Header" context="#pop" char="]" />
</context>
<context name="Header2" attribute="Header" lineEndContext="#pop" />
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Decoration" defStyleNum="dsFloat" color="#00bbaa" />
<itemData name="String" defStyleNum="dsString" bold="true"/>
<itemData name="Preprocessor" defStyleNum="dsString" italic="true"/>
<itemData name="Header" defStyleNum="dsFloat"/>
<itemData name="Slur" defStyleNum="dsDataType" bold="true"/>
<itemData name="Tuplet" defStyleNum="dsDataType" color="#bb00bb"/>
<itemData name="Lyrics" defStyleNum="dsDataType" color="#00bb00"/>
<itemData name="Bar" defStyleNum="dsChar" color="#0000ff"/>
<itemData name="Sharp" defStyleNum="dsNormal" color="#22bb66" bold="true"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="%" position="afterwhitespace" />
</comments>
<keywords casesensitive="1" />
</general>
</language>