1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

Expose the TextEdit control of the script editor

Refactor ScriptEditor and ScriptTextEditor with added method to retrieve the script editor's TextEdit control.

Update
doc/classes/ScriptEditor.xml
script_editor_plugin.cpp
script_editor_plugin.h
script_text_editor.cpp
script_text_editor.h
This commit is contained in:
Jeronimo Schreyer
2023-06-09 10:07:38 -03:00
parent b822463965
commit a248c318de
5 changed files with 17 additions and 0 deletions

View File

@@ -338,6 +338,7 @@ class ScriptEditor : public PanelContainer {
void _script_created(Ref<Script> p_script);
ScriptEditorBase *_get_current_editor() const;
Control *_get_base_editor() const;
void _save_layout();
void _editor_settings_changed();