diff options
| author | marynate | 2014-05-06 17:43:14 +0800 |
|---|---|---|
| committer | marynate | 2014-05-06 19:21:21 +0800 |
| commit | 6c0f3f8d0ca9e30951f0e6e643af07ca7ed695a9 (patch) | |
| tree | 554effb91a3c96ae28017bb1ee60d0ef17fc5691 /tools/editor/plugins/script_editor_plugin.h | |
| parent | ab76f541961c9bf11ba51ea6aeeacab529e9e0b9 (diff) | |
| download | godot-6c0f3f8d0ca9e30951f0e6e643af07ca7ed695a9.tar.gz godot-6c0f3f8d0ca9e30951f0e6e643af07ca7ed695a9.tar.zst godot-6c0f3f8d0ca9e30951f0e6e643af07ca7ed695a9.zip | |
Implement Shift+F1 as contextual help hotkey for script editor; There's
one bug that when jump to help tab first time, the scroll position is
wrong.
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.h b/tools/editor/plugins/script_editor_plugin.h index af1fe1c6c..97f1702f8 100644 --- a/tools/editor/plugins/script_editor_plugin.h +++ b/tools/editor/plugins/script_editor_plugin.h @@ -133,7 +133,7 @@ class ScriptEditor : public VBoxContainer { DEBUG_BREAK, DEBUG_CONTINUE, DEBUG_SHOW, - HELP_SELECTED, + HELP_CONTEXTUAL, WINDOW_CLOSE, WINDOW_MOVE_LEFT, WINDOW_MOVE_RIGHT, @@ -187,6 +187,7 @@ class ScriptEditor : public VBoxContainer { void _breaked(bool p_breaked,bool p_can_debug); void _show_debugger(bool p_show); void _update_window_menu(); + static ScriptEditor *script_editor; protected: void _notification(int p_what); |
