summaryrefslogtreecommitdiffstats
path: root/scene/resources/syntax_highlighter.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-09-14 15:21:45 +0200
committerYuri Sizov <yuris@humnom.net>2023-09-14 15:21:45 +0200
commit56e54b49b65c0feb4368ec88a89c2d40af1b4ad3 (patch)
tree3089a9a0bbdd637b2bc816fc5d1f46ec6608f41b /scene/resources/syntax_highlighter.cpp
parentded139384e5a478a3f942a463f341b53a3f6fffd (diff)
parentfe000277eaea77bb19ca0c5dae650ab4f76ccef0 (diff)
downloadredot-engine-56e54b49b65c0feb4368ec88a89c2d40af1b4ad3.tar.gz
Merge pull request #81551 from YuriSizov/gui-cache-all-the-theme
Bind remaining theme properties to their respective classes
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) {