Connect CodeHighlighter with TextEdit without friend-access

This commit is contained in:
Yuri Sizov
2023-09-19 14:36:38 +02:00
parent 571cd0eb79
commit fee1fb8290
3 changed files with 7 additions and 3 deletions

View File

@@ -419,7 +419,7 @@ void CodeHighlighter::_clear_highlighting_cache() {
}
void CodeHighlighter::_update_cache() {
font_color = text_edit->theme_cache.font_color;
font_color = text_edit->get_font_color();
}
void CodeHighlighter::add_keyword_color(const String &p_keyword, const Color &p_color) {