diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 6e3167147542..6bb745ac5751 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -2582,8 +2582,6 @@ void TextEdit::_move_caret_to_line_end(bool p_select) { set_caret_column(row_end_col, i == 0, i); } - carets.write[i].last_fit_x = INT_MAX; - if (p_select) { _post_shift_selection(i); }