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

bool is_match = true;
			if (pos != -1 && (p_search_flags & SEARCH_WHOLE_WORDS)) {
				
				if (pos > 0 && !is_symbol(text_line[pos - 1])) {
					is_match = false;
				} else if (pos + p_key.length() < text_line.length() && !is_symbol(text_line[pos + p_key.length()])) {
					is_match = false;
				}
			}
			if (pos_from == -1) {
				pos = -1;
			}
			if (is_match || last_pos == -1 || pos == -1) {
				break;
			}
			pos_from = (p_search_flags & SEARCH_BACKWARDS) ? pos - 1 : pos + 1;
			pos = -1;
		}
		if (pos != -1) {
			break;
		}
		if (p_search_flags & SEARCH_BACKWARDS) {
			line--;
		} else {
			line++;
		}
	}
	return (pos == -1) ? Point2i(-1, -1) : Point2i(pos, line);
}
Point2 TextEdit::get_local_mouse_pos() const {