summaryrefslogtreecommitdiffstats
path: root/scene/resources/syntax_highlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/syntax_highlighter.cpp')
-rw-r--r--scene/resources/syntax_highlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/syntax_highlighter.cpp b/scene/resources/syntax_highlighter.cpp
index 903be41c26..aa311baa43 100644
--- a/scene/resources/syntax_highlighter.cpp
+++ b/scene/resources/syntax_highlighter.cpp
@@ -419,7 +419,7 @@ void CodeHighlighter::_clear_highlighting_cache() {
}
void CodeHighlighter::_update_cache() {
- font_color = text_edit->get_theme_color(SNAME("font_color"));
+ font_color = text_edit->theme_cache.font_color;
}
void CodeHighlighter::add_keyword_color(const String &p_keyword, const Color &p_color) {