summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorSiyuan Gao <siyuangao@gmail.com>2016-07-17 15:18:48 -0700
committerSiyuan Gao <sgao@mobify.com>2016-07-18 10:09:42 -0700
commit0c3b1b51b854ae38cbb95059b1e457d02daaccf9 (patch)
treec886170c733493b7c87a656901460292be18ee70 /tools/editor/plugins/script_editor_plugin.h
parent6a5e11c075b6bc48d23267c03a66e613dee2bf55 (diff)
downloadredot-engine-0c3b1b51b854ae38cbb95059b1e457d02daaccf9.tar.gz
Script Editor: adding close all docs menu option
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.h')
-rw-r--r--tools/editor/plugins/script_editor_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.h b/tools/editor/plugins/script_editor_plugin.h
index 2e6e2c035c..06f22863cf 100644
--- a/tools/editor/plugins/script_editor_plugin.h
+++ b/tools/editor/plugins/script_editor_plugin.h
@@ -127,6 +127,7 @@ class ScriptEditor : public VBoxContainer {
FILE_SAVE_THEME,
FILE_SAVE_THEME_AS,
FILE_CLOSE,
+ CLOSE_DOCS,
EDIT_UNDO,
EDIT_REDO,
EDIT_CUT,
@@ -237,6 +238,7 @@ class ScriptEditor : public VBoxContainer {
void _close_tab(int p_idx);
void _close_current_tab();
+ void _close_docs_tab();
bool grab_focus_block;