diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-09-19 14:36:38 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-09-19 14:36:38 +0200 |
commit | fee1fb8290cf87a267891fe0d3e2f74b953d7ac6 (patch) | |
tree | ec4705c2ed84d5b116625f101735431c5e13d4ac /scene/gui/text_edit.cpp | |
parent | 571cd0eb791b37e9a8adda9f909251138170f6b7 (diff) | |
download | redot-engine-fee1fb8290cf87a267891fe0d3e2f74b953d7ac6.tar.gz |
Connect `CodeHighlighter` with `TextEdit` without friend-access
Diffstat (limited to 'scene/gui/text_edit.cpp')
-rw-r--r-- | scene/gui/text_edit.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 98bedd4493..0ec72eced2 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -6018,6 +6018,10 @@ bool TextEdit::is_drawing_spaces() const { return draw_spaces; } +Color TextEdit::get_font_color() const { + return theme_cache.font_color; +} + void TextEdit::_bind_methods() { /* Internal. */ |