diff options
| author | Rémi Verschelde | 2017-07-19 09:54:02 +0200 |
|---|---|---|
| committer | GitHub | 2017-07-19 09:54:02 +0200 |
| commit | d4c73ea2b379835e75e02b78073547960cf03a74 (patch) | |
| tree | 1496863e3d9a7d9e0e6bf7a0683a9b49695a9f92 /editor/plugins/script_editor_plugin.h | |
| parent | 9cf72d0ae174badab07b1461f576955725375046 (diff) | |
| parent | 708d8250011dad02fd7d3651eb057bdd9e52fb7f (diff) | |
| download | godot-d4c73ea2b379835e75e02b78073547960cf03a74.tar.gz godot-d4c73ea2b379835e75e02b78073547960cf03a74.tar.zst godot-d4c73ea2b379835e75e02b78073547960cf03a74.zip | |
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
| -rw-r--r-- | editor/plugins/script_editor_plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 010a5604e..3d03eb0f4 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -321,6 +321,9 @@ class ScriptEditor : public PanelContainer { int file_dialog_option; void _file_dialog_action(String p_file); + Ref<Script> _get_current_script(); + Array _get_opened_script_list() const; + static void _open_script_request(const String &p_path); static ScriptEditor *script_editor; @@ -354,11 +357,15 @@ public: void get_window_layout(Ref<ConfigFile> p_layout); void set_scene_root_script(Ref<Script> p_script); + Vector<Ref<Script> > get_opened_scripts() const; bool script_goto_method(Ref<Script> p_script, const String &p_method); virtual void edited_scene_changed(); + void notify_script_close(const Ref<Script> &p_script); + void notify_script_changed(const Ref<Script> &p_script); + void close_builtin_scripts_from_scene(const String &p_scene); void goto_help(const String &p_desc) { _help_class_goto(p_desc); } |
