[python-win32] Editor find and replace can't count - off by oneerror
Roger Upole
rupole at hotmail.com
Sat Feb 11 21:18:38 CET 2012
Mark Lawrence wrote:
> Hi all,
>
> I assume that this is a long time known problem that is regarded as a joke but when I do a find and replace the number of items
> reported as replaced is always one less than it should be. Fix and/or workaround pretty please.
>
> --
> Cheers.
>
> Mark Lawrence.
Yep, that's been around for a while. Not really a joke, just that noone's gotten
around to fixing it yet.
In site-packages\pythonwin\pywin\scintilla\find.py, add
num = 1
at line 324.
Roger
More information about the python-win32
mailing list