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

Re: Ctrl + K - add some productivity :)

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: Ctrl + K - add some productivity :)
Date: 2010-11-22 20:42:22
Message-ID: AANLkTinhCj6Tjj6gvnn6KQmWCwJ3KnzMkwZLeUnxp1MX@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Mon, Nov 22, 2010 at 5:21 PM, Nail Samatov
<nail(dot)samatov(at)googlemail(dot)com> wrote:
> Hello,
>
> I find this patch make more convenient (un)commenting lines in sql
> editor and I think such behavior is much more like other IDE's.
>
> 1. When press Ctrl + K on a selected text: If a selected text ends
> with '\n' then a comment after it is not added.
> 2. If there is no selection: comment a several lines by pressing Ctrl
> + K repeatedly.
>
> Can you apply it to official release?
> (1) fixes some unintuitive behavior
> With (2) you can quickly (un)comment several lines (no need to select
> a line with mouse or keyboard etc - just press Ctrl + K)

Thanks, applied to trunk and 1.12 (because of the unintuitive behaviour).

-- 
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: Guillaume LelargeDate: 2010-11-23 11:08:03
Subject: pgAdmin III commit: Fix an issue with naming objects for backup
Previous:From: Dave PageDate: 2010-11-22 20:41:46
Subject: pgAdmin III commit: Improve the commenting logic in the SQL text box,t

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