You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps this is just on my machine (Arch linux distro), but the 'Text Wrap' toggle doesn't seem to actually wrap the example sentences in the demo window. The scroll bar across the bottom of the editor window appears if you make the font size larger but the sentence doesn't wrap.
There is also no wrap if you just start typing on application startup and type off the edge of the editor window.
The text was updated successfully, but these errors were encountered:
Text wrapping is not implemented for the TextEditor widget yet. It does however work for the Text widget. Adding this feature to the TextEditor would involve additional computing for line positions so that the caret, mouse, and scrollview remains correct. The current logic for text layout is here for anyone interested:
Since the TextEditor has a buffer for each line, the first version would probably need a TextLayout for each line.
In the meantime, I'll update the demo with a todo item.
Perhaps this is just on my machine (Arch linux distro), but the 'Text Wrap' toggle doesn't seem to actually wrap the example sentences in the demo window. The scroll bar across the bottom of the editor window appears if you make the font size larger but the sentence doesn't wrap.
There is also no wrap if you just start typing on application startup and type off the edge of the editor window.
The text was updated successfully, but these errors were encountered: