play around with Scintilla and Lexilla
This commit is contained in:
3
3rdparty/lexilla532/lexilla/test/examples/vb/SciTE.properties
vendored
Normal file
3
3rdparty/lexilla532/lexilla/test/examples/vb/SciTE.properties
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
lexer.*.vb=vb
|
||||
lexer.vb.strings.multiline=1
|
||||
keywords.*.vb=as dim or string
|
16
3rdparty/lexilla532/lexilla/test/examples/vb/x.vb
vendored
Normal file
16
3rdparty/lexilla532/lexilla/test/examples/vb/x.vb
vendored
Normal 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
|
17
3rdparty/lexilla532/lexilla/test/examples/vb/x.vb.folded
vendored
Normal file
17
3rdparty/lexilla532/lexilla/test/examples/vb/x.vb.folded
vendored
Normal 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
|
16
3rdparty/lexilla532/lexilla/test/examples/vb/x.vb.styled
vendored
Normal file
16
3rdparty/lexilla532/lexilla/test/examples/vb/x.vb.styled
vendored
Normal 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}
|
Reference in New Issue
Block a user