diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index fbd60ce2200..631ddaf7de5 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1009,10 +1009,7 @@ void TextEdit::_notification(int p_what) { } if ((char_ofs + char_margin + char_w) >= xmargin_end) { - if (syntax_coloring) - continue; - else - break; + break; } bool in_search_result = false;