EControl Syntax Editor SDK
Lexer library
Lexer rules and options are implemented as published properties of TSyntAnalyzer component. Lexer is resource of this component.
There are two file extensions used to store lexer resources:
*.LCF Single lexer configuration (text delphi resource of TSyntAnalyzer).
*.LXL Lexer library (text delphi resource of TSyntaxManager).
All this files in "Delphi Form Resource" text format.
You may save/load lexer and library configuration, so it is possible to exchange resource of lexer configurations. Update of default lexer library you can find at download page.
| File type |
Extensions |
Styles |
Token rules |
Block rules |
Sub lexers |
| Pascal |
pas inc dpr dpk |
16 |
12 |
31 |
1 |
| C++ |
c cpp cxx h hpp |
8 |
12 |
9 |
0 |
| Visual Basic |
bas |
10 |
8 |
9 |
0 |
| PL/SQL |
sql |
14 |
8 |
27 |
0 |
| SQL |
sql |
7 |
6 |
1 |
0 |
| Delphi resources |
dfm lxl lcf |
8 |
8 |
9 |
0 |
| Ini files |
ini dsk dti dof inf lng |
7 |
7 |
4 |
0 |
| Help contents |
cnt |
7 |
6 |
2 |
0 |
| HTML with scripts |
htm html |
1 |
0 |
0 |
6 |
| HTML documents |
htm html |
9 |
12 |
11 |
1 |
| XML documents |
xml |
10 |
9 |
10 |
0 |
| Style sheets |
css |
7 |
5 |
5 |
0 |
| Assembler |
asm |
8 |
5 |
2 |
0 |
| IDL files |
idl |
9 |
8 |
10 |
0 |
| Batch files |
bat |
7 |
5 |
4 |
0 |
| ASAP 2 database |
a2l |
8 |
8 |
5 |
1 |
| ASAP Meta Languge |
|
8 |
7 |
4 |
0 |
| Regular expressions |
|
8 |
8 |
0 |
0 |
| C# |
c cpp h cs |
8 |
11 |
11 |
0 |
| Ñ++Builder project |
bpk bpr |
1 |
0 |
0 |
2 |
| Java Builder |
java |
8 |
9 |
7 |
0 |
| Java script |
|
8 |
9 |
5 |
0 |
| Perl |
pl pm cgi pod |
9 |
8 |
1 |
0 |
| Clarion |
|
6 |
4 |
1 |
0 |
| Clipper |
|
8 |
7 |
3 |
0 |
| Cobol |
|
5 |
5 |
2 |
0 |
| Fortran |
f for f90 f95 f2k |
8 |
6 |
4 |
0 |
| FoxPro |
|
8 |
7 |
1 |
0 |
| Latex |
tex sty aux toc idx |
5 |
3 |
2 |
0 |
| Modula 2 |
|
7 |
6 |
5 |
1 |
| PHP |
|
11 |
13 |
5 |
1 |
| Oberon |
|
7 |
6 |
5 |
0 |
| INNO setup |
iss |
7 |
6 |
5 |
1 |
| Pascal script |
|
11 |
10 |
13 |
0 |
| Empty lines |
|
3 |
2 |
2 |
0 |
|