Allow use of Shift+Tab to un-indent selected text. Fixes #1988

This commit is contained in:
Murtuza Zabuawala 2017-07-05 14:20:19 +01:00 committed by Dave Page
parent 2bb01e2d1a
commit 9de6c08d28
2 changed files with 8 additions and 1 deletions

View File

@ -55,6 +55,10 @@ When using the syntax-highlighting SQL editors, the following shortcuts are avai
+--------------------------+------------------+-------------------------------------+ +--------------------------+------------------+-------------------------------------+
| Ctrl+Minus | Cmd+Minus | Zoom out | | Ctrl+Minus | Cmd+Minus | Zoom out |
+--------------------------+------------------+-------------------------------------+ +--------------------------+------------------+-------------------------------------+
| Tab | Tab | Indent selected text |
+--------------------------+------------------+-------------------------------------+
| Shift+Tab | Shift+Tab | Un-indent selected text |
+--------------------------+------------------+-------------------------------------+
**Query Tool** **Query Tool**

View File

@ -1833,7 +1833,10 @@ define(
"Ctrl-Alt-Left": "goGroupLeft", "Ctrl-Alt-Left": "goGroupLeft",
"Cmd-Alt-Left": "goGroupLeft", "Cmd-Alt-Left": "goGroupLeft",
"Ctrl-Alt-Right": "goGroupRight", "Ctrl-Alt-Right": "goGroupRight",
"Cmd-Alt-Right": "goGroupRight" "Cmd-Alt-Right": "goGroupRight",
// Allow user to delete Tab(s)
"Shift-Tab": "indentLess"
}, },
editor_options: { editor_options: {
tabSize: '{{ editor_tab_size }}', tabSize: '{{ editor_tab_size }}',