From 6c0f3f8d0ca9e30951f0e6e643af07ca7ed695a9 Mon Sep 17 00:00:00 2001 From: marynate Date: Tue, 6 May 2014 17:43:14 +0800 Subject: 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. --- tools/editor/plugins/script_editor_plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/editor/plugins/script_editor_plugin.h') 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); -- cgit v1.2.3-70-g09d2