fix highlighter regression

This commit is contained in:
Simon Döhl
2026-02-03 10:16:35 +01:00
parent 3c5e561024
commit 510639bd95

View File

@@ -521,6 +521,7 @@ void TextEditorBase::set_syntax_highlighter(Ref<EditorSyntaxHighlighter> p_highl
ERR_FAIL_COND(p_highlighter.is_null());
CodeEdit *te = code_editor->get_text_editor();
p_highlighter->_set_edited_resource(edited_res);
te->set_syntax_highlighter(p_highlighter);
}