Godot version: 3.2-master
OS/device including version: Debian buster amd64
Issue description:
I use Ctrl+PgUp/PgDn to switch between scene tabs. (It's a pretty common shortcut from back in Gnome 2, used in gnome-terminal, firefox, and other programs.) I also want to use it to switch between scripts in the script editor, so I've assigned the same keys to "Previous script" and "Next script" as well.
If I press Ctrl+PgUp/PgDn in the script editor:
It does not switch scripts as expected. (And it IS expected, because I'm not in the scene editor!)
It does not switch scene tabs either.
Instead, it behaves exactly the same as PgUp/PgDn without "Ctrl" - meaning, apparently the shortcut is not caught at all. (Or rather, intercepted by the text editor, which doesn't even have any useful actions bound to them!)
However, if I click into the script list, then it works - Ctrl+PgUp/PgDn switches scripts as intended.
If I use another combination of keys for this action, it works. This suggests that this particular shortcut is indeed intercepted by the text editor, for some reason, even if it does not do anything useful.
"Meta+PgUp/PgDn" does not work either. Neither do "Meta+Up/Down". However, "Ctrl+Alt+Up/Down" works! Does the text editor have issues with "Ctrl" and "Meta", or with "PgUp/PgDn"?..
In the "Shortcuts", "Next script"/"Previous script" are listed for "Script Editor" and not "Script Text Editor". However, "Save" is also listed there, and it works even if I'm in the text editor.
Steps to reproduce:
Assign "Ctrl+PgUp" for "Previous script" and "Ctrl+PgDn" for "Next script"
Open several scripts, put the cursor in the text editor
Try pressing Ctrl+PgUp/PgDn
Expected result: switching between open scripts
Actual result: the cursor jumping one page up or down in the text editor
Godot version: 3.2-master OS/device including version: Debian buster amd64
Issue description: I use Ctrl+PgUp/PgDn to switch between scene tabs. (It's a pretty common shortcut from back in Gnome 2, used in gnome-terminal, firefox, and other programs.) I also want to use it to switch between scripts in the script editor, so I've assigned the same keys to "Previous script" and "Next script" as well.
If I press Ctrl+PgUp/PgDn in the script editor:
In the "Shortcuts", "Next script"/"Previous script" are listed for "Script Editor" and not "Script Text Editor". However, "Save" is also listed there, and it works even if I'm in the text editor.
Steps to reproduce:
Expected result: switching between open scripts Actual result: the cursor jumping one page up or down in the text editor