### Godot version

Godot 4.0 statble

### System information

Windows 10

### Issue description

TextEdit boundary wrapmode not works, it only removes the horizontal scrollbar

### Steps to reproduce

Add a textedit in editor, set  the wrap mode to boundary, type something.

### Minimal reproduction project

![image](https://user-images.githubusercontent.com/9168814/224538077-2efb4e67-8976-496e-9223-c460365ecc28.png)
![image](https://user-images.githubusercontent.com/9168814/224538084-af773b86-d73a-4e8b-9b66-a0fb4bde1168.png)

if (!editable) {
		return;
	}
	begin_complex_operation();
	Vector<int> caret_edit_order = get_caret_index_edit_order();
	for (const int &i : caret_edit_order) {
		bool first_line = false;
		if (!p_split_current_line) {
			deselect(i);
			if (p_above) {
				if (get_caret_line(i) > 0) {
					set_caret_line(get_caret_line(i) - 1, false, true, 0, i);
					set_caret_column(text[get_caret_line(i)].length(), i == 0, i);
				} else {
					set_caret_column(0, i == 0, i);
					first_line = true;
				}
			} else {
				set_caret_column(text[get_caret_line(i)].length(), i == 0, i);
			}
		}
		insert_text_at_caret("\n", i);
		if (first_line) {
			set_caret_line(0, i == 0, true, 0, i);
		}
	}
	end_complex_operation();
}
void TextEdit::_move_caret_left(bool p_select, bool p_move_by_word) {