Обсуждение: Copy selected text to "Find:" text field

Поиск
Список
Период
Сортировка

Copy selected text to "Find:" text field

От
Nail Samatov
Дата:
In many IDE's there is a very useful feature: if there is a selected
text when a user has opened Find And Replace dialog, then this text is
copied to the "Find:" text field.
If there is no selected text, then "Find:" text field is not changed.

I miss this feature in pgAdmin, so I attach the patch to fix it...
May be it will be useful for someone else...

--
Best regards,
Nail Samatov

Вложения

Re: Copy selected text to "Find:" text field

От
Dave Page
Дата:
On Mon, Nov 15, 2010 at 7:05 AM, Nail Samatov
<nail.samatov@googlemail.com> wrote:
> In many IDE's there is a very useful feature: if there is a selected
> text when a user has opened Find And Replace dialog, then this text is
> copied to the "Find:" text field.
> If there is no selected text, then "Find:" text field is not changed.
>
> I miss this feature in pgAdmin, so I attach the patch to fix it...
> May be it will be useful for someone else...

Thanks - patch applied for the 1.14 release.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company