Author: dpage
Date: 2006-11-15 08:45:04 +0000 (Wed, 15 Nov 2006)
New Revision: 5639
Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5639&view=rev
Log:
Fix minor bug reported by Erwin:
# One more cornercase for "Find and Replace". Try to replace multiple occurrences of 'abc' with 'abcd' and see for
yourself..
Seems like "Replace" continues the search at the _beginning_ of the newly inserted text. If the search string is
includedin the replace string, we end up in an endless loop.
Might be easy to fix by continuing the search _after_ the replaced string. ("Find" seems to do it right.)
Modified:
trunk/pgadmin3/src/ctl/ctlSQLBox.cpp