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,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

View 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

View 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

View 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}