From f0abe2bd770419bfe36a0d89330ea3f4d0e90cec Mon Sep 17 00:00:00 2001 From: Anil Sahoo Date: Wed, 18 Mar 2026 13:23:10 +0530 Subject: [PATCH] Fixed an issue where ALT+F5 for execute query in Query Tool shows crosshairCursor icon for rectangularSelection. #9570 --- .../js/components/ReactCodeMirror/components/Editor.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/static/js/components/ReactCodeMirror/components/Editor.jsx b/web/pgadmin/static/js/components/ReactCodeMirror/components/Editor.jsx index b84ffa750a6..935ba415e54 100644 --- a/web/pgadmin/static/js/components/ReactCodeMirror/components/Editor.jsx +++ b/web/pgadmin/static/js/components/ReactCodeMirror/components/Editor.jsx @@ -119,9 +119,9 @@ function insertTabWithUnit({ state, dispatch }) { /* React wrapper for CodeMirror */ const defaultExtensions = [ highlightSpecialChars(), - rectangularSelection(), dropCursor(), - crosshairCursor(), + rectangularSelection({ eventFilter: (e) => e.altKey && e.ctrlKey }), + crosshairCursor({ key: 'Control' }), EditorState.allowMultipleSelections.of(true), indentOnInput(), syntaxHighlighting,