From fb0e7f8f1ce68a725aa0ab716f5c004ffd72835e Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sat, 19 Aug 2017 09:55:42 +0100 Subject: [PATCH] Fixed blinking text, issue 10432 --- scene/gui/text_edit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index a7c31361e80..292ae1a0719 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1000,6 +1000,8 @@ void TextEdit::_notification(int p_what) { if (cursor.column == j && cursor.line == line && block_caret && draw_caret && !insert_mode) { color = cache.caret_background_color; + } else if (!syntax_coloring && block_caret) { + color = cache.font_color; } if (str[j] >= 32) {