Debian Codegraph @

texk/gregorio/gregorio-src/contrib/gabc.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE language SYSTEM "language.dtd">
3 <!-- Elie Roux - [email protected]
4 version1.0 - 10 november 2008 -->
5 <language name="GABC" version="1.10" kateversion="2.4" section="Other" extensions="*.gabc" mimetype="text/plain" casesensitive="1" author="Elie Roux ([email protected])" license="GPL">
6 <highlighting>
7 <contexts>
8 <context name="Normal" attribute="Normal Text" lineEndContext="#stay">
9 <DetectChar attribute="Attribute" context="Attribute" char=":"/>
10 <StringDetect attribute="Separation" context="Score Text" String="%%" insensitive="FALSE"/>
11 </context>
12 <context name="Attribute" attribute="Attribute" lineEndContext="#pop">
13 <DetectChar attribute="Attribute Name" context="Normal" char=";"/>
14 </context>
15 <context name="Score Text" attribute="Score Text" lineEndContext="#stay">
16 <DetectChar attribute="Notes" context="Notes" char="("/>
17 <RangeDetect attribute="Translation" context="#stay" char="[" char1="]"/>
18 <RangeDetect attribute="Text Markups" context="#stay" char="&lt;" char1="&gt;"/>
19 </context>
20 <context name="Notes" attribute="Notes" lineEndContext="#stay">
21 <DetectChar attribute="Notes" context="#pop" char=")"/>
22 <RegExpr attribute="Notes Base" context="#stay" String="[a-mA-M]+"/>
23 <RegExpr attribute="Alterations" context="#stay" String="[&gt;&lt;\~xXyYvVoOwWqQ-Ss\._'1234]+"/>
24 <RegExpr attribute="Space" context="#stay" String="[`,;!: /zZ]+"/>
25 </context>
26 </contexts>
27 <itemDatas>
28 <itemData name="Normal Text" defStyleNum="dsNormal"/>
29 <itemData name="Attribute" defStyleNum="dsNormal" italic="true"/>
30 <itemData name="Separation" defStyleNum="dsNormal" bold="true"/>
31 <itemData name="Score Text" defStyleNum="dsNormal" bold="true"/>
32 <itemData name="Text Markups" defStyleNum="dsFloat" bold="true"/>
33 <itemData name="Translation" defStyleNum="dsNormal" italic="true"/>
34 <itemData name="Notes" defStyleNum="dsNormal"/>
35 <itemData name="Notes Base" defStyleNum="dsNormal"/>
36 <itemData name="Alterations" defStyleNum="dsFloat" italic="true"/>
37 <itemData name="Space" defStyleNum="dsString" bold="true"/>
38 </itemDatas>
39 </highlighting>
40 </language>