[pywin32-checkins] /hgroot/pywin32/pywin32: Fix replace count
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2012-02-11 22:16:34
|
changeset 60e8e48fe924 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=60e8e48fe924 summary: Fix replace count diffstat: Pythonwin/pywin/scintilla/find.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r 8fc48a195771 -r 60e8e48fe924 Pythonwin/pywin/scintilla/find.py --- a/Pythonwin/pywin/scintilla/find.py Thu Jan 19 13:55:10 2012 +1100 +++ b/Pythonwin/pywin/scintilla/find.py Sat Feb 11 17:15:40 2012 -0500 @@ -321,6 +321,7 @@ control.SetSel(0) num = 0 if self.DoFindNext() == FOUND_NORMAL: + num = 1 lastSearch.replaceText = self.editReplaceText.GetWindowText() while _ReplaceIt(control) == FOUND_NORMAL: num = num + 1 |