You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
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:
@@ -341,7 +341,9 @@ void ScriptTextEditor::reload_text() {
|
|||||||
te->tag_saved_version();
|
te->tag_saved_version();
|
||||||
|
|
||||||
code_editor->update_line_and_column();
|
code_editor->update_line_and_column();
|
||||||
_validate_script();
|
if (editor_enabled) {
|
||||||
|
_validate_script();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScriptTextEditor::add_callback(const String &p_function, const PackedStringArray &p_args) {
|
void ScriptTextEditor::add_callback(const String &p_function, const PackedStringArray &p_args) {
|
||||||
|
|||||||
Reference in New Issue
Block a user