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,3 @@
lexer.*.vb=vb
lexer.vb.strings.multiline=1
keywords.*.vb=as dim or string

View File

@ -0,0 +1,16 @@
' String"
Dim a As String = "hello, world"
Dim b As String = "hello world"
Dim c As String = "Joe said ""Hello"" to me"
Dim d As String = "\\\\server\\share\\file.txt"
Dim e As String = "The brown fox
jumps over
the lazy dog"
' Character
""C "c"C "cc"C
' Date
d = #5/31/1993# or # 01/01/0001 12:00:00AM #
' Number
123_456___789
123_
&b10101_01010

View File

@ -0,0 +1,17 @@
0 400 0 ' String"
0 400 0 Dim a As String = "hello, world"
0 400 0 Dim b As String = "hello world"
0 400 0 Dim c As String = "Joe said ""Hello"" to me"
0 400 0 Dim d As String = "\\\\server\\share\\file.txt"
0 400 0 Dim e As String = "The brown fox
0 400 0 jumps over
0 400 0 the lazy dog"
0 400 0 ' Character
0 400 0 ""C "c"C "cc"C
0 400 0 ' Date
0 400 0 d = #5/31/1993# or # 01/01/0001 12:00:00AM #
0 400 0 ' Number
0 400 0 123_456___789
0 400 0 123_
0 400 0 &b10101_01010
0 400 0

View File

@ -0,0 +1,16 @@
{1}' String"
{3}Dim{0} {7}a{0} {3}As{0} {3}String{0} {6}={0} {4}"hello, world"{0}
{3}Dim{0} {7}b{0} {3}As{0} {3}String{0} {6}={0} {4}"hello world"{0}
{3}Dim{0} {7}c{0} {3}As{0} {3}String{0} {6}={0} {4}"Joe said ""Hello"" to me"{0}
{3}Dim{0} {7}d{0} {3}As{0} {3}String{0} {6}={0} {4}"\\\\server\\share\\file.txt"{0}
{3}Dim{0} {7}e{0} {3}As{0} {3}String{0} {6}={0} {4}"The brown fox
jumps over
the lazy dog"{0}
{1}' Character
{4}""C{0} {4}"c"C{0} {4}"cc"C{0}
{1}' Date
{7}d{0} {6}={0} {8}#5/31/1993#{0} {3}or{0} {8}# 01/01/0001 12:00:00AM #{0}
{1}' Number
{2}123_456___789{0}
{2}123_{0}
{2}&b10101_01010{0}