Re: Issue in "Find and Replace"

From: Erwin Brandstetter <brandstetter(at)falter(dot)at>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Issue in "Find and Replace"
Date: 2006-11-02 23:23:39
Message-ID: 454A7DFB.7020404@falter.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

brandstetter(at)falter(dot)at wrote:
> Trying to find strings starting with ' ' (space) generally fails.

I found that the alleged issue with the leading space was due to the
option "Whole word" being checked.
However, there are other, more severe issues:

- Replacing ceases to work after non-latin-1 (or at least after German
umlauts) characters in the text. Try the following test case:
'
foo bar test
test
test foo bar
ö <-- note the umlaut!
foo bar test
test
test foo bar
'
Now, try replacing 'test'. Even "backwards" does not work on the part
after the umlaut.
In case it matters (which I don't think): I have language "Default" and
"Read and write Unicode UTF-8 files" in the preferences.
This issue is _not_ present in the original beta4. Maybe introduced with
your recent fixes?

- If I try a search "From the top" "Forwards", then close the "Find and
Replace" window, even edit the SQL script, then open "Find and Replace"
again, and start a new search (without editing the search text) it does
not search from the top, but continues to search from the last position
before closing the "Find and Repalce" window.
Closing the window should make it forget the last position, IMO.

This issue was not present in the original beta4, because "Find" "From
the top" was broken and never found anything past the first match.
It did, however, remember postion between searches with "from the
cursor" as long as you did not click in the SQL script before opening
the "Find and Replace" window again.

Regards
Erwin

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Erwin Brandstetter 2006-11-03 03:35:27 Re: Issue in "Find and Replace"
Previous Message George Pavlov 2006-11-02 23:04:00 enhancement idea: re-establish lost connections?