Re: Bug Report - Find / Replace / Replace All - Mailing list pgadmin-support

From Dave Page
Subject Re: Bug Report - Find / Replace / Replace All
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40103D80B@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Bug Report - Find / Replace / Replace All  ("Luc Mousseau" <luc@sivana.net>)
List pgadmin-support
 


From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Luc Mousseau
Sent: 13 January 2006 21:39
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] Bug Report - Find / Replace / Replace All

Platform: Windows XP Professional
Language: English
Distribution/version: pgAdmin III v1.5 (Dec 9 2005)
 
It seems there's a bug in the Find and Replace function of the query analyser. Specifically the "Replace All" appears to be somewhat recursive. It appears to depend on the number of lines (including blank lines) in the window.
 
To reproduce this bug do the following:
 
1. Open new Query window.
2. Type the word "test".
3. Hit enter key a dozen times (just blank lines are fine).
4. Edit > Replace, and replace the word "test" with the word "itest". Click "Replace All".
5. Result is the original word "test" is replaced with "iiiiiiiiiiiiiiiiiiiiiiitest".
 
Thanks Luc, I've committed a fix for this to SVN.
 
Regards, Dave

pgadmin-support by date:

Previous
From: Rikard Pavelic
Date:
Subject: procedure properties problem
Next
From: "Dave Page"
Date:
Subject: Re: procedure properties problem