Ctrl + K - add some productivity :) - Mailing list pgadmin-hackers

From Nail Samatov
Subject Ctrl + K - add some productivity :)
Date
Msg-id AANLkTimke0_ceVrrL8LMjFR5vGLAxzW4zTTdOdTVRiq-@mail.gmail.com
Whole thread Raw
Responses Re: Ctrl + K - add some productivity :)  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
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)

--
Best regards,
Nail Samatov

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Ensure we use the appropriate SDK for modern builds
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Improve the commenting logic in the SQL text box, t