### 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 (selection_only->is_pressed() && text_editor->has_selection(0)) {
		_replace_all();
		_hide_bar();
	} else if (Input::get_singleton()->is_key_pressed(Key::SHIFT)) {
		_replace();
		search_prev();
	} else {
		_replace();
	}
}
String FindReplaceBar::get_search_text() const {
	return search_text->get_text();
}
String FindReplaceBar::get_replace_text() const {
	return replace_text->get_text();
}
bool FindReplaceBar::is_case_sensitive() const {
	return case_sensitive->is_pressed();
}
bool FindReplaceBar::is_whole_words() const {
	return whole_words->is_pressed();
}
bool FindReplaceBar::is_selection_only() const {
	return selection_only->is_pressed();
}
void FindReplaceBar::set_error(const String &p_label) {