Skip to content

Commit f0abe2b

Browse files
committed
Fixed an issue where ALT+F5 for execute query in Query Tool shows crosshairCursor icon for rectangularSelection. #9570
1 parent 2576548 commit f0abe2b

File tree

1 file changed

+2
-2
lines changed
  • web/pgadmin/static/js/components/ReactCodeMirror/components

1 file changed

+2
-2
lines changed

web/pgadmin/static/js/components/ReactCodeMirror/components/Editor.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ function insertTabWithUnit({ state, dispatch }) {
119119
/* React wrapper for CodeMirror */
120120
const defaultExtensions = [
121121
highlightSpecialChars(),
122-
rectangularSelection(),
123122
dropCursor(),
124-
crosshairCursor(),
123+
rectangularSelection({ eventFilter: (e) => e.altKey && e.ctrlKey }),
124+
crosshairCursor({ key: 'Control' }),
125125
EditorState.allowMultipleSelections.of(true),
126126
indentOnInput(),
127127
syntaxHighlighting,

0 commit comments

Comments
 (0)