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

void _update_selection_mode_line();
	void _pre_shift_selection(int p_caret);
	void _post_shift_selection(int p_caret);
	
	LineWrappingMode line_wrapping_mode = LineWrappingMode::LINE_WRAPPING_NONE;
	int wrap_at_column = 0;
	int wrap_right_offset = 10;
	void _update_wrap_at_column(bool p_force = false);
	
	HScrollBar *h_scroll = nullptr;
	VScrollBar *v_scroll = nullptr;
	float content_height_cache = 0.0;
	bool fit_content_height = false;
	bool scroll_past_end_of_file_enabled = false;
	
	bool smooth_scroll_enabled = false;
	float target_v_scroll = 0.0;
	float v_scroll_speed = 80.0;
	
	int first_visible_line = 0;
	int first_visible_line_wrap_ofs = 0;
	int first_visible_col = 0;
	bool scrolling = false;
	bool updating_scrolls = false;
	void _update_scrollbars();
	int _get_control_height() const;
	void _v_scroll_input();
	void _scroll_moved(double p_to_val);
	double _get_visible_lines_offset() const;
	double _get_v_scroll_offset() const;