Fix Go To Line crash

This commit is contained in:
kit 2026-02-02 21:17:30 -05:00
parent 3c5e561024
commit 49b68479a4
2 changed files with 6 additions and 4 deletions

View file

@ -645,6 +645,9 @@ TextEditorBase::TextEditorBase() {
edit_hb = memnew(HBoxContainer);
goto_line_popup = memnew(GotoLinePopup);
add_child(goto_line_popup);
Ref<EditorPlainTextSyntaxHighlighter> plain_highlighter;
plain_highlighter.instantiate();
add_syntax_highlighter(plain_highlighter);