You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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.
This commit is contained in:
@@ -455,9 +455,8 @@ public:
|
||||
Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const override;
|
||||
bool is_using_templates() override;
|
||||
void make_template(const String &p_class_name, const String &p_base_class_name, Ref<Script> &p_script) override;
|
||||
/* TODO */ 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,
|
||||
List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const override {
|
||||
/* TODO */ bool validate(const String &p_script, const String &p_path, List<String> *r_functions,
|
||||
List<ScriptLanguage::ScriptError> *r_errors = nullptr, List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const override {
|
||||
return true;
|
||||
}
|
||||
String validate_path(const String &p_path) const override;
|
||||
|
||||
Reference in New Issue
Block a user