You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Fix caret last fit when moving to line end
This commit is contained in:
@@ -2582,8 +2582,6 @@ void TextEdit::_move_caret_to_line_end(bool p_select) {
|
|||||||
set_caret_column(row_end_col, i == 0, i);
|
set_caret_column(row_end_col, i == 0, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
carets.write[i].last_fit_x = INT_MAX;
|
|
||||||
|
|
||||||
if (p_select) {
|
if (p_select) {
|
||||||
_post_shift_selection(i);
|
_post_shift_selection(i);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user