chore: bump scintilla and lexilla version
This commit is contained in:
11
3rdparty/lexilla545/lexilla/test/examples/python/attributes/SciTE.properties
vendored
Normal file
11
3rdparty/lexilla545/lexilla/test/examples/python/attributes/SciTE.properties
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
lexer.*.py=python
|
||||
keywords.*.py=class def else for if import in pass print return while with yield
|
||||
keywords2.*.py=hilight
|
||||
fold=1
|
||||
fold.compact=1
|
||||
lexer.python.identifier.attributes=1
|
||||
lexer.python.decorator.attributes=1
|
||||
|
||||
substyles.python.11=3
|
||||
substylewords.11.3.$(file.patterns.py)=findall replace
|
||||
style.python.11.3=fore:#EEAA80,italics,bold
|
9
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-decorator.py
vendored
Normal file
9
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-decorator.py
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# issue#294 also pointed out that decorator attributes behaved differently
|
||||
# for left-justified decorators vs indented decorators
|
||||
|
||||
@decorator.attribute
|
||||
def foo():
|
||||
@decorator.attribute
|
||||
def bar():
|
||||
pass
|
||||
bar()
|
10
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-decorator.py.folded
vendored
Normal file
10
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-decorator.py.folded
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
0 400 0 # issue#294 also pointed out that decorator attributes behaved differently
|
||||
0 400 0 # for left-justified decorators vs indented decorators
|
||||
1 400 0
|
||||
0 400 0 @decorator.attribute
|
||||
2 400 0 + def foo():
|
||||
0 404 0 | @decorator.attribute
|
||||
2 404 0 + def bar():
|
||||
0 408 0 | pass
|
||||
0 404 0 | bar()
|
||||
1 404 0 |
|
9
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-decorator.py.styled
vendored
Normal file
9
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-decorator.py.styled
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
{1}# issue#294 also pointed out that decorator attributes behaved differently{0}
|
||||
{1}# for left-justified decorators vs indented decorators{0}
|
||||
|
||||
{15}@decorator{10}.{15}attribute{0}
|
||||
{5}def{0} {9}foo{10}():{0}
|
||||
{15}@decorator{10}.{15}attribute{0}
|
||||
{5}def{0} {9}bar{10}():{0}
|
||||
{5}pass{0}
|
||||
{11}bar{10}(){0}
|
18
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-id.py
vendored
Normal file
18
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-id.py
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
varname = 1
|
||||
# identifier in first line was mis-styled as attribute when bug existed
|
||||
|
||||
# left comment ends with period. this was okay before bug.
|
||||
varname = 2
|
||||
|
||||
x = 1 # comment after code ends with period. this failed when bug existed.
|
||||
varname = 3
|
||||
|
||||
def dummy():
|
||||
# indented comment ends with period.this failed when bug existed.
|
||||
varname = 4
|
||||
|
||||
x = 2 ## comment block is the same.
|
||||
varname = 5
|
||||
|
||||
# per issue#294, identifiers were mis-styled as attributes when at beginning of file
|
||||
# and when after a non-left-justifed comment
|
19
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-id.py.folded
vendored
Normal file
19
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-id.py.folded
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
0 400 0 varname = 1
|
||||
0 400 0 # identifier in first line was mis-styled as attribute when bug existed
|
||||
1 400 0
|
||||
0 400 0 # left comment ends with period. this was okay before bug.
|
||||
0 400 0 varname = 2
|
||||
1 400 0
|
||||
0 400 0 x = 1 # comment after code ends with period. this failed when bug existed.
|
||||
0 400 0 varname = 3
|
||||
1 400 0
|
||||
2 400 0 + def dummy():
|
||||
0 404 0 | # indented comment ends with period.this failed when bug existed.
|
||||
0 404 0 | varname = 4
|
||||
1 400 0
|
||||
0 400 0 x = 2 ## comment block is the same.
|
||||
0 400 0 varname = 5
|
||||
1 400 0
|
||||
0 400 0 # per issue#294, identifiers were mis-styled as attributes when at beginning of file
|
||||
0 400 0 # and when after a non-left-justifed comment
|
||||
1 400 0
|
18
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-id.py.styled
vendored
Normal file
18
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attrib-id.py.styled
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{11}varname{0} {10}={0} {2}1{0}
|
||||
{1}# identifier in first line was mis-styled as attribute when bug existed{0}
|
||||
|
||||
{1}# left comment ends with period. this was okay before bug.{0}
|
||||
{11}varname{0} {10}={0} {2}2{0}
|
||||
|
||||
{11}x{0} {10}={0} {2}1{0} {1}# comment after code ends with period. this failed when bug existed.{0}
|
||||
{11}varname{0} {10}={0} {2}3{0}
|
||||
|
||||
{5}def{0} {9}dummy{10}():{0}
|
||||
{1}# indented comment ends with period.this failed when bug existed.{0}
|
||||
{11}varname{0} {10}={0} {2}4{0}
|
||||
|
||||
{11}x{0} {10}={0} {2}2{0} {12}## comment block is the same.{0}
|
||||
{11}varname{0} {10}={0} {2}5{0}
|
||||
|
||||
{1}# per issue#294, identifiers were mis-styled as attributes when at beginning of file{0}
|
||||
{1}# and when after a non-left-justifed comment{0}
|
17
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attributes.py
vendored
Normal file
17
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attributes.py
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# attributes=20
|
||||
s = "thing thing".findall("thing")
|
||||
a.very.complicated.expression.findall("test")
|
||||
# fake out.
|
||||
b.very.complicated.expression.
|
||||
findall("test2")
|
||||
c.very.complicated.expression. \
|
||||
findall("test3")
|
||||
d.very.complicated.expression.\
|
||||
findall("test4")
|
||||
@staticmethod.attrtest
|
||||
@staticmethod.
|
||||
attrtest
|
||||
@staticmethod. \
|
||||
attrtest
|
||||
@staticmethod.\
|
||||
attrtest
|
18
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attributes.py.folded
vendored
Normal file
18
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attributes.py.folded
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
0 400 0 # attributes=20
|
||||
0 400 0 s = "thing thing".findall("thing")
|
||||
0 400 0 a.very.complicated.expression.findall("test")
|
||||
0 400 0 # fake out.
|
||||
2 400 0 + b.very.complicated.expression.
|
||||
0 404 0 | findall("test2")
|
||||
2 400 0 + c.very.complicated.expression. \
|
||||
0 404 0 | findall("test3")
|
||||
2 400 0 + d.very.complicated.expression.\
|
||||
0 404 0 | findall("test4")
|
||||
0 400 0 @staticmethod.attrtest
|
||||
0 400 0 @staticmethod.
|
||||
0 400 0 attrtest
|
||||
0 400 0 @staticmethod. \
|
||||
0 400 0 attrtest
|
||||
0 400 0 @staticmethod.\
|
||||
0 400 0 attrtest
|
||||
1 400 0
|
17
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attributes.py.styled
vendored
Normal file
17
3rdparty/lexilla545/lexilla/test/examples/python/attributes/attributes.py.styled
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
{1}# attributes=20{0}
|
||||
{11}s{0} {10}={0} {3}"thing thing"{10}.{20}findall{10}({3}"thing"{10}){0}
|
||||
{11}a{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{20}findall{10}({3}"test"{10}){0}
|
||||
{1}# fake out.{0}
|
||||
{11}b{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{0}
|
||||
{20}findall{10}({3}"test2"{10}){0}
|
||||
{11}c{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{0} \
|
||||
{20}findall{10}({3}"test3"{10}){0}
|
||||
{11}d{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{0}\
|
||||
{20}findall{10}({3}"test4"{10}){0}
|
||||
{15}@staticmethod{10}.{15}attrtest{0}
|
||||
{15}@staticmethod{10}.{0}
|
||||
{15}attrtest{0}
|
||||
{15}@staticmethod{10}.{0} \
|
||||
{15}attrtest{0}
|
||||
{15}@staticmethod{10}.{0}\
|
||||
{15}attrtest{0}
|
Reference in New Issue
Block a user