diff --git a/addons/text_editor/TE_Console.gd b/addons/text_editor/TE_Console.gd index 74bd854..3ab2598 100644 --- a/addons/text_editor/TE_Console.gd +++ b/addons/text_editor/TE_Console.gd @@ -1,3 +1,4 @@ +tool extends "res://addons/text_editor/TE_RichTextLabel.gd" func msg(msg): diff --git a/addons/text_editor/TE_TextEditor.gd b/addons/text_editor/TE_TextEditor.gd index 27ee612..41f6229 100644 --- a/addons/text_editor/TE_TextEditor.gd +++ b/addons/text_editor/TE_TextEditor.gd @@ -265,7 +265,6 @@ func load_state(): yield(get_tree(), "idle_frame") if selected: emit_signal("file_selected", selected.file_path) - func _load_property(state:Dictionary, property:String, merge:bool=false): if property in state and typeof(state[property]) == typeof(self[property]): @@ -358,6 +357,8 @@ func _menu_view_file(index:int): if ext in exts_enabled: exts_enabled[ext] = not exts_enabled[ext] popup_view_file.set_item_checked(index, exts_enabled[ext]) + else: + print("no %s in %s" % [ext, exts_enabled]) refresh_files() save_state()