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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Nail Samatov <nail(dot)samatov(at)googlemail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Copy selected text to "Find:" text field
Date: 2010-11-15 12:40:40
Message-ID: AANLkTingGPNU_iE-UQX4mfPPbhm0gMQGZgjz+=P0Asf5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Mon, Nov 15, 2010 at 7:05 AM, Nail Samatov
<nail(dot)samatov(at)googlemail(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2010-11-15 16:40:31 [pgAdmin III] #281: Copy selected text to "Find:" text field
Previous Message Dave Page 2010-11-15 12:40:14 pgAdmin III commit: Use the highlighted text in the Query Tool as the d