diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..010b545 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,3 @@ +# 1.1 +- `fix` Loading settings caused printed an error. +- Get rid of test file. diff --git a/README.md b/README.md index b9c9d3e..9b28cf2 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,3 @@ This will then highlight *Files* and *Symbols* that have that tag. - [ ] Meta data based on format. - [ ] Recycle folder - [ ] Undo recycle - - -# Credit -
Logo preview by Flat Icons from www.flaticon.com
diff --git a/README/logo.png b/README/logo.png new file mode 100644 index 0000000..c9a736c Binary files /dev/null and b/README/logo.png differ diff --git a/README/text-editor.png b/README/text-editor.png deleted file mode 100644 index 16bc077..0000000 Binary files a/README/text-editor.png and /dev/null differ diff --git a/addons/text_editor/TE_Util.gd b/addons/text_editor/TE_Util.gd index 7fb4729..51fd4a5 100644 --- a/addons/text_editor/TE_Util.gd +++ b/addons/text_editor/TE_Util.gd @@ -9,15 +9,16 @@ static func load_text(path:String) -> String: return out push_error("no file at \"%s\"" % path) return "" - -static func load_json(path:String) -> Dictionary: + +static func load_json(path:String, loud:bool=false) -> Dictionary: var f:File = File.new() if f.file_exists(path): f.open(path, File.READ) var out = JSON.parse(f.get_as_text()).result f.close() return out - push_error("no json at \"%s\"" % path) + if loud: + push_error("no json at \"%s\"" % path) return {} static func save_json(path:String, data:Dictionary):