1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #48605 from sent44/scripteditor_get_codeedit

Add `get_base_editor` to `ScriptEditorBase`
This commit is contained in:
Rémi Verschelde
2021-05-16 23:06:01 +02:00
committed by GitHub
9 changed files with 29 additions and 0 deletions

View File

@@ -1402,6 +1402,10 @@ void ScriptTextEditor::set_tooltip_request_func(String p_method, Object *p_obj)
void ScriptTextEditor::set_debugger_active(bool p_active) {
}
Control *ScriptTextEditor::get_base_editor() const {
return code_editor->get_text_editor();
}
Variant ScriptTextEditor::get_drag_data_fw(const Point2 &p_point, Control *p_from) {
return Variant();
}