godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.73k stars 21.12k forks source link

Switching scripts with PgUp/PgDn does not work #35578

Open dark-penguin opened 4 years ago

dark-penguin commented 4 years ago

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

KoBeWi commented 3 years ago

Still valid in 3.2.4 beta4