Validate scripts when they are loaded in the text editor

This commit is contained in:
lupoDharkael 2019-04-16 02:14:58 +02:00
parent 0d87535dd7
commit f137166251
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ void ScriptTextEditor::set_edited_resource(const RES &p_res) {
emit_signal("name_changed"); emit_signal("name_changed");
code_editor->update_line_and_column(); code_editor->update_line_and_column();
_validate_script();
} }
void ScriptTextEditor::_update_member_keywords() { void ScriptTextEditor::_update_member_keywords() {