Validate scripts when they are loaded in the text editor

(cherry picked from commit f137166251)
This commit is contained in:
lupoDharkael 2019-04-16 02:14:58 +02:00 committed by Hein-Pieter van Braam-Stewart
parent aa78461ebd
commit 904bfa6a72
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() {