From d9574f3caabdcbc7d5446f76a14f2519372cd19c Mon Sep 17 00:00:00 2001 From: Nagesh Dhope Date: Fri, 10 Apr 2020 15:21:56 +0530 Subject: [PATCH] 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" --- docs/en_US/release_notes_4_21.rst | 1 + web/pgadmin/browser/static/js/browser.js | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en_US/release_notes_4_21.rst b/docs/en_US/release_notes_4_21.rst index 1913b9bc3..a1a76639c 100644 --- a/docs/en_US/release_notes_4_21.rst +++ b/docs/en_US/release_notes_4_21.rst @@ -24,6 +24,7 @@ Bug fixes ********* | `Issue #3645 `_ - Ensure that the start and end date should be deleted when clear the selection for pgAgent Job. +| `Issue #3972 `_ - Modified keyboard shortcuts in Query Tool for OSX native support. | `Issue #3988 `_ - Fixed cursor disappeared issue in the query editor for some of the characters when zoomed out. | `Issue #4206 `_ - Ensure that the grant wizard should be closed on pressing the ESC key. | `Issue #4512 `_ - Fixed calendar opening issue on the exception tab inside the schedules tab of pgAgent. diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index ed54c3ccb..a2bcd78c6 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',