public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM3972] Standard OSX keyboard behaviour in Query Tool.
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM3972] Standard OSX keyboard behaviour in Query Tool.
@ 2020-04-10 05:53  Nagesh Dhope <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nagesh Dhope @ 2020-04-10 05:53 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,
Please find a patch, which fixes following OSX native keyboard shortcuts in
Query Tool.

   1. option+arrow (L/R) should skip by "word"
   2. option+arrow (up/down) should go up/down one line
   3. shift+option+arrow (L/R) should select/highlight by "word"

-- 
Thanks,
Nagesh


Attachments:

  [application/octet-stream] RM3972.patch (577B, 3-RM3972.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js
index e8ac4af..695052d 100644
--- a/web/pgadmin/browser/static/js/browser.js
+++ b/web/pgadmin/browser/static/js/browser.js
@@ -2117,9 +2117,8 @@ define('pgadmin.browser', [
       'Ctrl-D': 'deleteLine',
       'Cmd-D': 'deleteLine',
 
-      // Go to start/end of Line
-      'Alt-Left': 'goLineStart',
-      'Alt-Right': 'goLineEnd',
+      'Alt-Up': 'goLineUp',
+      'Alt-Down': 'goLineDown',
 
       // Move word by word left/right
       'Ctrl-Alt-Left': 'goGroupLeft',


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin][RM3972] Standard OSX keyboard behaviour in Query Tool.
@ 2020-04-10 12:08  Akshay Joshi <[email protected]>
  parent: Nagesh Dhope <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-04-10 12:08 UTC (permalink / raw)
  To: Nagesh Dhope <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Fri, Apr 10, 2020 at 11:24 AM Nagesh Dhope <[email protected]>
wrote:

> Hi Hackers,
> Please find a patch, which fixes following OSX native keyboard shortcuts
> in Query Tool.
>
>    1. option+arrow (L/R) should skip by "word"
>    2. option+arrow (up/down) should go up/down one line
>    3. shift+option+arrow (L/R) should select/highlight by "word"
>
> --
> Thanks,
> Nagesh
>


-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-04-10 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 05:53 [pgAdmin][RM3972] Standard OSX keyboard behaviour in Query Tool. Nagesh Dhope <[email protected]>
2020-04-10 12:08 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox