play around with Scintilla and Lexilla

This commit is contained in:
2024-07-02 23:47:26 +08:00
parent d7c71f41b2
commit 727a2ec214
992 changed files with 281111 additions and 195 deletions

View File

@ -0,0 +1 @@
lexer.*.mak=makefile

View File

@ -0,0 +1,4 @@
# makefile lexer previously used fixed 1024-byte line buffer that would treat text after that as new line
# Long line with 1025 bytes last 2 bytes colored as default 3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345678912345678

View File

@ -0,0 +1,5 @@
0 400 0 # makefile lexer previously used fixed 1024-byte line buffer that would treat text after that as new line
0 400 0
0 400 0 # Long line with 1025 bytes last 2 bytes colored as default 3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345678912345678
0 400 0
0 400 0

View File

@ -0,0 +1,4 @@
{1}# makefile lexer previously used fixed 1024-byte line buffer that would treat text after that as new line
{0}
{1}# Long line with 1025 bytes last 2 bytes colored as default 3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345678912345678
{0}

View File

@ -0,0 +1,16 @@
# '# comment' comment=1
# comment
# '.SUFFIXES' target=5, ':' operator=4
.SUFFIXES:
# 'LD' identifier=3, '=' operator=4, 'link' default=0
LD=link
# '!IFDEF DEBUG' preprocessor=2
!IFDEF DEBUG
# '$(' ID EOL=9
X=$(
# End of file

View File

@ -0,0 +1,17 @@
0 400 0 # '# comment' comment=1
0 400 0 # comment
0 400 0
0 400 0 # '.SUFFIXES' target=5, ':' operator=4
0 400 0 .SUFFIXES:
0 400 0
0 400 0 # 'LD' identifier=3, '=' operator=4, 'link' default=0
0 400 0 LD=link
0 400 0
0 400 0 # '!IFDEF DEBUG' preprocessor=2
0 400 0 !IFDEF DEBUG
0 400 0
0 400 0 # '$(' ID EOL=9
0 400 0 X=$(
0 400 0
0 400 0 # End of file
0 400 0

View File

@ -0,0 +1,16 @@
{1}# '# comment' comment=1
# comment
{0}
{1}# '.SUFFIXES' target=5, ':' operator=4
{5}.SUFFIXES{4}:{0}
{1}# 'LD' identifier=3, '=' operator=4, 'link' default=0
{3}LD{4}={0}link
{1}# '!IFDEF DEBUG' preprocessor=2
{2}!IFDEF DEBUG
{0}
{1}# '$(' ID EOL=9
{3}X{4}={9}$(
{0}
{1}# End of file