[wingide-users] Recursion Bug in ReplaceStephan Deibel sdeibel at wingide.com
Mon, 14 Apr 2003 15:04:44 -0400 (EDT)
Hi, Sure enough, there was a flaw in the logic when it wraps that causes this when the cursor starts within or after the last match of the search string in the file, and the replace string contains the search string. I've made a patch that fixes this, available here: http://wingide.com/support/downloads_list&version=1.1.9§ion=bugfix It also works for Wing IDE Lite. Thanks for reporting this... and sorry about the problem. - Stephan On Mon, 14 Apr 2003, Ken Kinder wrote: > I am on 1.1.9-1 > > Here's some simple and easy instructions to reproduce the error. > > echo "foo" > file > wing file > ctrl+r > Set these fields: > Search "foo" > Replace "foobar" > Wrap Search: Checked > Incremental: Checked > Click on Replace All > > You can visually see that it's looping. > > Stephan Deibel said: > > I was under the impression those had all been fixed as of version 1.1.6. > > Are you using a newer version of Wing? > > > > - Stephan > > > > On Sun, 13 Apr 2003, Ken Kinder wrote: > > > >> I went to replace > >> > >> showing > >> > >> with > >> > >> showing_steps > >> > >> I had incremental and wrap search checked. And it seemed to be stuck > >> in some kind of a nasty loop. Had to kill client. > >> > >> Are you aware of any recursion problems with searching? > >> > >> -- > >> Ken Kinder > >> CORE Team; Rackspace Managed Hosting(tm) > >> 210-892-4025 x1095 > >> > >> _________________________________________________ > >> Wing IDE discussion list > >> http://wingide.com/support/forum > >> > > _________________________________________________ > > Wing IDE discussion list > > http://wingide.com/support/forum > > >
Run by Mailman v 2.0.8
Copyright (c) 2000-2002, Archaeopteryx Software, Inc.