Connect CodeHighlighter with TextEdit without friend-access
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user