mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 16:24:27 +02:00
Fix Python the variable "def" not working correctly in Function List
Fix #3645, close #3672
This commit is contained in:
parent
fad747300a
commit
71b532710f
@ -82,6 +82,8 @@ for _ in xrange(m):
|
|||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
ssdef = 20
|
||||||
|
USER_DEF = 1000
|
||||||
|
|
||||||
def dfs(G, s):
|
def dfs(G, s):
|
||||||
vis, S = set([s]), [s]
|
vis, S = set([s]), [s]
|
||||||
|
@ -681,7 +681,7 @@
|
|||||||
<nameExpr expr="\w+(?=\s*[\(|:])" />
|
<nameExpr expr="\w+(?=\s*[\(|:])" />
|
||||||
</className>
|
</className>
|
||||||
<function
|
<function
|
||||||
mainExpr="(?<=def\x20).+?(?=:)"
|
mainExpr="(?<=\sdef\x20).+?(?=:)"
|
||||||
>
|
>
|
||||||
<functionName>
|
<functionName>
|
||||||
<funcNameExpr expr=".*" />
|
<funcNameExpr expr=".*" />
|
||||||
@ -689,7 +689,7 @@
|
|||||||
</function>
|
</function>
|
||||||
</classRange>
|
</classRange>
|
||||||
<function
|
<function
|
||||||
mainExpr="(?<=def\x20).+?(?=:)"
|
mainExpr="(?<=\sdef\x20).+?(?=:)"
|
||||||
>
|
>
|
||||||
<functionName>
|
<functionName>
|
||||||
<nameExpr expr=".*" />
|
<nameExpr expr=".*" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user