Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.mup.fold is written in an unsupported language. File is not indexed.

0001 // This is a MUP highlighting test.
0002 // Mup is a shareware music publisher from www.arkkra.com
0003 
0004 // contexts
0005 score
0006 music
0007 staff 1
0008 voice 1 3
0009 
0010 top
0011 top2
0012 bottom
0013 bottom2
0014 grids
0015 
0016 headshapes
0017 
0018 
0019 header
0020 footer
0021 header2
0022 footer2
0023 
0024 // parameters and values
0025 score
0026         units = cm;
0027         key = 3#minor
0028         key = 3# minor
0029         rehstyle=circled 
0030 
0031 
0032 
0033 
0034 mussym above all: 1 "ferm" ;
0035 
0036 <beginfold id='1'>define</beginfold id='1'> NAME
0037 // this is a macro definition, these are collapsable
0038 <endfold id='1'>@</endfold id='1'>
0039 
0040 <beginfold id='1'>ifdef</beginfold id='1'> NAME
0041 // this is conditionally "compiled"
0042 <endfold id='1'>endif</endfold id='1'>
0043 
0044 <beginfold id='1'>ifndef</beginfold id='1'> NAME
0045 // this is conditionally "compiled" when the macro has not been defined
0046 else
0047 // else clause
0048 <endfold id='1'>endif</endfold id='1'>
0049 
0050 
0051 // Various Tests 
0052 
0053 // tablature
0054 1: e ^f; f; b ^c5; c#5;
0055 bar
0056 
0057 1: d+^e+ g^a; e+a; g ^/; c ^/ c+^/;
0058 bar
0059 
0060 // cross-staff stems
0061 1: 1e+g+c++;
0062 2: cc+; ee+; g with g+ above; with c+c++ above;
0063 bar
0064 
0065 1: 2+4ceg;4;    // tie implied by added time values
0066 
0067 // slurs
0068 1: 2f<d> a<b> c+<d+>; dbd+;
0069 bar
0070 1: 2fac+ slur; dbd+;
0071 bar
0072 
0073 // alternation
0074 1: 2c alt 2; 2c+;2g;
0075 bar
0076 
0077 // bar to draw if repeatstart happens to be on new line
0078 (dblbar) repeatstart
0079 1: [up]8f bm with staff below;a;4s ebm;4s bm with staff below;8b;[len 11]d ebm;
0080 2: 4s bm with staff above;8a;b ebm;[down;len 14]b bm with staff above;d;4s ebm;
0081 bar
0082 
0083 // locations
0084 3: 2cf; [=h] egc+;
0085 1: [cue; with >; =_ch] fa;
0086 
0087 
0088 roll up 1 1 to 1 2: 2; 4;
0089 roll down 1 1 to 1 2: 2; 4;
0090 
0091 lyrics above 1,3 ; below 2,4 ; between 5&6 : "<1.  >Hi, hi";
0092 
0093 title "page \% of \#"
0094 
0095 // shaped whole rests
0096 1:      4mr;   // use a quarter rest symbol
0097 1:      1/4mr;  // use a quadruple whole rest symbol
0098 2:      2.. mr;  // use a double-dotted half rest
0099 
0100 // tuplets
0101 1: {4f; g;}3num,4.+2.
0102 bar
0103