Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group