-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextEdit doesn't wrap the first word of a line #74256
Comments
Tried going as far back as 4.0 alpha 1, bug is still present |
In this example, even though there are many characters, they are treated as a single word. |
Doing proper text wrapping is complicated, and language dependent if it is to be done properly |
I'm sure it is, but it did use to work |
@Rindbee That was a good suggestion This behaviour is not clearly stated in the docs, who simply say (for E.g.correct wrapping of second word: second word wrapped correctly once, but then overflows once it becomes the first of the next line (notice the missing caret): |
Godot version
4.0 stable
System information
Manjaro Linux, kernel 6.1.1-1-MANJARO, AMD Ryzen 5 3600, AMD RX 580
Issue description
The
wrap_mode
property of theTextEdit
node doesn't seem to really do anything. Setting it toLINE_WRAPPING_BOUNDARY
simply means that there won't be an horizontal scrollbar if the text overshoots the boundary, instead of actually forcing the text to the next line so that it stays visible.Steps to reproduce
Create a TextEdit node and set its
wrap_mode
property toLINE_WRAPPING_BOUNDARY
Minimal reproduction project
WrapBugDemo.zip
The text was updated successfully, but these errors were encountered: