From 3e7cdcdf90827ee3b07f981758aecbc0bfed10a8 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Tue, 29 Sep 2020 10:56:57 +0530 Subject: [PATCH] =?UTF-8?q?Ensure=20that=20'ctrl=C2=A0+=20a'=20shortcut=20?= =?UTF-8?q?does=20not=20move=20the=20cursor=20in=20SQL=20editor.=20Fixes?= =?UTF-8?q?=20#5131?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en_US/release_notes_4_27.rst | 1 + web/pgadmin/browser/static/js/browser.js | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/docs/en_US/release_notes_4_27.rst b/docs/en_US/release_notes_4_27.rst index a836e4cfd..9f196f86c 100644 --- a/docs/en_US/release_notes_4_27.rst +++ b/docs/en_US/release_notes_4_27.rst @@ -21,6 +21,7 @@ Bug fixes ********* | `Issue #4806 `_ - Added useful message when the explain plan is not used and empty. +| `Issue #5131 `_ - Ensure that 'ctrl + a' shortcut does not move the cursor in SQL editor. | `Issue #5417 `_ - Fixed and improve API test cases for the schema diff tool. | `Issue #5739 `_ - Ensure that the import/export feature should work with SSH Tunnel. | `Issue #5802 `_ - Remove maximum length on the password field in the server dialog. diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index 0eb7840b0..e9463f2ea 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -2171,22 +2171,6 @@ define('pgadmin.browser', [ 'Ctrl-Space': 'autocomplete', 'Cmd-Space': 'autocomplete', - // Select All text - 'Ctrl-A': 'selectAll', - 'Cmd-A': 'selectAll', - - // Redo text - 'Ctrl-Y': 'redo', - 'Cmd-Y': 'redo', - - // Undo text - 'Ctrl-Z': 'undo', - 'Cmd-Z': 'undo', - - // Delete Line - 'Ctrl-D': 'deleteLine', - 'Cmd-D': 'deleteLine', - 'Alt-Up': 'goLineUp', 'Alt-Down': 'goLineDown',