You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -240,7 +240,7 @@ void ShaderTextEditor::_validate_script() {
|
||||
warnings.sort_custom<WarningsComparator>();
|
||||
_update_warning_panel();
|
||||
} else {
|
||||
set_warning_nb(0);
|
||||
set_warning_count(0);
|
||||
}
|
||||
emit_signal("script_changed");
|
||||
}
|
||||
@@ -280,7 +280,7 @@ void ShaderTextEditor::_update_warning_panel() {
|
||||
}
|
||||
warnings_panel->pop(); // Table.
|
||||
|
||||
set_warning_nb(warning_count);
|
||||
set_warning_count(warning_count);
|
||||
}
|
||||
|
||||
void ShaderTextEditor::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user