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

Support editing JSON in ScriptEditor

This commit is contained in:
Paulb23
2023-01-28 14:05:23 +00:00
parent 218bef90af
commit a197d6ef4e
4 changed files with 149 additions and 24 deletions

View File

@@ -41,7 +41,7 @@ class TextEditor : public ScriptEditorBase {
private:
CodeTextEditor *code_editor = nullptr;
Ref<TextFile> text_file;
Ref<Resource> edited_res;
bool editor_enabled = false;
HBoxContainer *edit_hb = nullptr;