### 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)

p_new_line--;
			caret_wrap_index = get_line_wrap_count(p_new_line);
		} else {
			caret_wrap_index--;
		}
	}
	
	if (p_new_line < 0) {
		p_new_line = 0;
	}
	if (p_new_line >= text.size()) {
		p_new_line = text.size() - 1;
	}
	p_new_column = _get_char_pos_for_line(p_last_fit_x, p_new_line, caret_wrap_index);
	if (p_new_column != 0 && get_line_wrapping_mode() != LineWrappingMode::LINE_WRAPPING_NONE && caret_wrap_index < get_line_wrap_count(p_new_line)) {
		Vector<String> rows = get_line_wrapped_text(p_new_line);
		int row_end_col = 0;
		for (int i = 0; i < caret_wrap_index + 1; i++) {
			row_end_col += rows[i].length();
		}
		if (p_new_column >= row_end_col) {
			p_new_column -= 1;
		}
	}
}
void TextEdit::_update_placeholder() {
	if (theme_cache.font.is_null() || theme_cache.font_size <= 0) {
		return; 
	}