You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
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