Merge pull request #84907 from miv391/fix-gutter-error
Do not bother with line colors if `line_number_gutter` is not yet calculated
This commit is contained in:
commit
4320d53a2b
1 changed files with 3 additions and 1 deletions
|
@ -341,8 +341,10 @@ void ScriptTextEditor::reload_text() {
|
|||
te->tag_saved_version();
|
||||
|
||||
code_editor->update_line_and_column();
|
||||
if (editor_enabled) {
|
||||
_validate_script();
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptTextEditor::add_callback(const String &p_function, const PackedStringArray &p_args) {
|
||||
ScriptLanguage *language = script->get_language();
|
||||
|
|
Loading…
Reference in a new issue