mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
added pascal lexer for syntax highlighting
This commit is contained in:
parent
06467d718a
commit
7e05755944
1 changed files with 32 additions and 14 deletions
|
@ -37,6 +37,38 @@ lexer3 // CPP-style, case-sensitive
|
|||
}
|
||||
|
||||
|
||||
lexer6 // Perl-style
|
||||
{
|
||||
0 = 0; // plain text
|
||||
2 = 3; // comments
|
||||
4 = 4; // literal
|
||||
5 = 1; // keywords
|
||||
6 = 4; // literal
|
||||
7 = 4; // literal
|
||||
33 = 5; // line numbers
|
||||
|
||||
keywordsindex = 0;
|
||||
constantsindex = -1;
|
||||
}
|
||||
|
||||
|
||||
lexer18 // Pascal-style
|
||||
{
|
||||
0 = 0; // plain text
|
||||
33 = 5; // line numbers
|
||||
1 = 3; // comments
|
||||
2 = 3; // comments
|
||||
5 = 1; // keywords
|
||||
4 = 4; // literal
|
||||
6 = 4; // literal
|
||||
7 = 4; // literal
|
||||
16 = 2; // constants
|
||||
|
||||
keywordsindex = 0;
|
||||
constantsindex = 1;
|
||||
}
|
||||
|
||||
|
||||
lexer35 // CPP-style, case-insensitive
|
||||
{
|
||||
0 = 0; // plain text
|
||||
|
@ -54,17 +86,3 @@ lexer35 // CPP-style, case-insensitive
|
|||
}
|
||||
|
||||
|
||||
lexer6 // Perl-style
|
||||
{
|
||||
0 = 0; // plain text
|
||||
2 = 3; // comments
|
||||
4 = 4; // literal
|
||||
5 = 1; // keywords
|
||||
6 = 4; // literal
|
||||
7 = 4; // literal
|
||||
33 = 5; // line numbers
|
||||
|
||||
keywordsindex = 0;
|
||||
constantsindex = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue