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

float base_scale = 1.0;
		
		Color brace_mismatch_color;
		Color code_folding_color = Color(1, 1, 1);
		Ref<Texture2D> folded_eol_icon;
		
		Color search_result_color = Color(1, 1, 1);
		Color search_result_border_color = Color(1, 1, 1);
		
		int caret_width = 1;
		Color caret_color = Color(1, 1, 1);
		Color caret_background_color = Color(0, 0, 0);
		
		Color font_selected_color = Color(0, 0, 0, 0);
		Color selection_color = Color(1, 1, 1);
		
		Ref<StyleBox> style_normal;
		Ref<StyleBox> style_focus;
		Ref<StyleBox> style_readonly;
		Ref<Texture2D> tab_icon;
		Ref<Texture2D> space_icon;
		Ref<Font> font;
		int font_size = 16;
		Color font_color = Color(1, 1, 1);
		Color font_readonly_color = Color(1, 1, 1);
		Color font_placeholder_color = Color(1, 1, 1, 0.6);
		int outline_size = 0;
		Color outline_color = Color(1, 1, 1);
		int line_spacing = 1;
		Color background_color = Color(1, 1, 1);