1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
colorize EBNF {
SyntaxParser = 'SIMPLE';
color {
{ 'Normal', 'Editor_Default' },
{ 'String', 'Lang_String' },
{ 'Symbol', 'Lang_Function' },
{ 'Punctuation', 'Lang_Punctuation' },
{ 'Comment', 'Lang_Comment' },
};
h_state 0 { 'Normal' }
h_trans { 1, '', '#', 'Comment' }
h_trans { 2, '<', '"', 'String' }
h_trans { 0, 's', '.|{}=[]()', 'Punctuation' }
h_state 1 { 'Comment' }
h_trans { 0, '$', '', 'Normal' }
h_state 2 { 'Symbol' }
h_trans { 0, '>', '"', 'String' }
h_trans { 0, '$', '', 'String' }
h_trans { 2, 'Qq', '\\', 'Symbol' }
}
mode EBNF: PLAIN {
FileNameRx = '\\.\\c{EBNF}$';
Colorizer = 'EBNF';
HilitOn = 1;
AutoIndent = 1;
IndentMode = 'PLAIN';
MultiLineHilit = 1;
AutoHilitParen = 1;
}
oinclude 'mym_ebnf.fte';
|