aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorsersoong2017-12-07 11:57:41 +0800
committersersoong2017-12-07 11:57:41 +0800
commitf0fda9fd874815c9cf888cac52353db2c3fed50a (patch)
tree9216ea7b29fb3f8978d74292acdd92e292128760 /editor/plugins/script_editor_plugin.h
parentb38378dd6c963d71d0c1ad40c53b29588e581757 (diff)
downloadgodot-f0fda9fd874815c9cf888cac52353db2c3fed50a.tar.gz
godot-f0fda9fd874815c9cf888cac52353db2c3fed50a.tar.zst
godot-f0fda9fd874815c9cf888cac52353db2c3fed50a.zip
Add 'copy script path' to script editor plugin
Diffstat (limited to '')
-rw-r--r--editor/plugins/script_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index 77ca4bc9d..ffd42d18c 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -137,6 +137,7 @@ class ScriptEditor : public PanelContainer {
CLOSE_ALL,
CLOSE_OTHER_TABS,
TOGGLE_SCRIPTS_PANEL,
+ FILE_COPY_PATH,
FILE_TOOL_RELOAD,
FILE_TOOL_RELOAD_SOFT,
DEBUG_NEXT,
@@ -255,6 +256,8 @@ class ScriptEditor : public PanelContainer {
void _close_other_tabs();
void _close_all_tabs();
+ void _copy_script_path();
+
void _ask_close_current_unsaved_tab(ScriptEditorBase *current);
bool grab_focus_block;