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

EditAction get_current_action() const;
	void begin_complex_operation();
	void end_complex_operation();
	bool has_undo() const;
	bool has_redo() const;
	void undo();
	void redo();
	void clear_undo_history();
	bool is_insert_text_operation() const;
	void tag_saved_version();
	uint32_t get_version() const;
	uint32_t get_saved_version() const;
	
	void set_search_text(const String &p_search_text);
	void set_search_flags(uint32_t p_flags);
	Point2i search(const String &p_key, uint32_t p_search_flags, int p_from_line, int p_from_column) const;
	
	Point2 get_local_mouse_pos() const;
	String get_word_at_pos(const Vector2 &p_pos) const;
	Point2i get_line_column_at_pos(const Point2i &p_pos, bool p_allow_out_of_bounds = true) const;
	Point2i get_pos_at_line_column(int p_line, int p_column) const;
	Rect2i get_rect_at_line_column(int p_line, int p_column) const;
	int get_minimap_line_at_pos(const Point2i &p_pos) const;
	bool is_dragging_cursor() const;
	bool is_mouse_over_selection(bool p_edges = true, int p_caret = -1) const;
	
	void set_caret_type(CaretType p_type);
	CaretType get_caret_type() const;
	void set_caret_blink_enabled(const bool p_enabled);
	bool is_caret_blink_enabled() const;