diff options
author | Eric M <itsjusteza@gmail.com> | 2021-05-18 13:09:19 +1000 |
---|---|---|
committer | Eric M <itsjusteza@gmail.com> | 2021-06-19 22:20:30 +1000 |
commit | d0e78c86d72de1ec5d1c49de5c5ee2fff9589efc (patch) | |
tree | 4cf90a7ab74252dae0eccb64e025910b348f92c1 /modules/gdnative/pluginscript/pluginscript_language.h | |
parent | 0a6a71973e50e31fef7b91658ab713ae5db5033f (diff) | |
download | redot-engine-d0e78c86d72de1ec5d1c49de5c5ee2fff9589efc.tar.gz |
Added support for scripts reporting multiple errors to ScriptTextEditor
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_language.h')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_language.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_language.h b/modules/gdnative/pluginscript/pluginscript_language.h index 957bf355ca..26ab4a95e3 100644 --- a/modules/gdnative/pluginscript/pluginscript_language.h +++ b/modules/gdnative/pluginscript/pluginscript_language.h @@ -75,7 +75,7 @@ public: virtual void get_comment_delimiters(List<String> *p_delimiters) const; virtual void get_string_delimiters(List<String> *p_delimiters) const; virtual Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const; - virtual bool validate(const String &p_script, int &r_line_error, int &r_col_error, String &r_test_error, const String &p_path = "", List<String> *r_functions = nullptr, List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const; + virtual bool validate(const String &p_script, const String &p_path = "", List<String> *r_functions = nullptr, List<ScriptLanguage::ScriptError> *r_errors = nullptr, List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const; virtual Script *create_script() const; virtual bool has_named_classes() const; virtual bool supports_builtin_mode() const; |