LiMinggang / madedit-mod

MadEdit-Mod is a cross platform Text/Hex editor(based on the madedit project @ sourceforge)
GNU General Public License v3.0
124 stars 27 forks source link

宏记录查找字符串的BUG #331

Closed sln-1550 closed 7 months ago

sln-1550 commented 8 months ago

我用的版本是0.4.20,使用环境是win10 x64 再录制宏以后,开启正则表达式搜索字符串,发现记录到的语句是: me = MadEdit() me.FindTextAll("\n", bRegex=True, bCaseSensitive=False, bWholeWord=False, bDotMatchNewline=False, bPanChinese=False, False)

但是这两条语句在脚本或者临时宏运行的时候均报错: File "", line 4 SyntaxError: non-keyword arg after keyword arg

必须手工将参数里最后一个False删掉才行或者加上showresults=才行。