### 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 set_scroll_past_end_of_file_enabled(const bool p_enabled);
	bool is_scroll_past_end_of_file_enabled() const;
	VScrollBar *get_v_scroll_bar() const;
	HScrollBar *get_h_scroll_bar() const;
	void set_v_scroll(double p_scroll);
	double get_v_scroll() const;
	void set_h_scroll(int p_scroll);
	int get_h_scroll() const;
	void set_v_scroll_speed(float p_speed);
	float get_v_scroll_speed() const;
	void set_fit_content_height_enabled(const bool p_enabled);
	bool is_fit_content_height_enabled() const;
	double get_scroll_pos_for_line(int p_line, int p_wrap_index = 0) const;
	
	void set_line_as_first_visible(int p_line, int p_wrap_index = 0);
	int get_first_visible_line() const;
	void set_line_as_center_visible(int p_line, int p_wrap_index = 0);
	void set_line_as_last_visible(int p_line, int p_wrap_index = 0);
	int get_last_full_visible_line() const;
	int get_last_full_visible_line_wrap_index() const;
	int get_visible_line_count() const;
	int get_visible_line_count_in_range(int p_from, int p_to) const;
	int get_total_visible_line_count() const;
	
	void adjust_viewport_to_caret(int p_caret = 0);
	void center_viewport_to_caret(int p_caret = 0);
	
	void set_draw_minimap(bool p_enabled);
	bool is_drawing_minimap() const;
	void set_minimap_width(int p_minimap_width);