Allow opening and editing of any utf_8 file in script editor
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
#include "editor/plugins/sprite_editor_plugin.h"
|
||||
#include "editor/plugins/sprite_frames_editor_plugin.h"
|
||||
#include "editor/plugins/style_box_editor_plugin.h"
|
||||
#include "editor/plugins/text_editor.h"
|
||||
#include "editor/plugins/texture_editor_plugin.h"
|
||||
#include "editor/plugins/texture_region_editor_plugin.h"
|
||||
#include "editor/plugins/theme_editor_plugin.h"
|
||||
@@ -5469,6 +5470,7 @@ EditorNode::EditorNode() {
|
||||
EditorAudioBuses *audio_bus_editor = EditorAudioBuses::register_editor();
|
||||
|
||||
ScriptTextEditor::register_editor(); //register one for text scripts
|
||||
TextEditor::register_editor();
|
||||
|
||||
if (StreamPeerSSL::is_available()) {
|
||||
add_editor_plugin(memnew(AssetLibraryEditorPlugin(this)));
|
||||
|
||||
Reference in New Issue
Block a user