Skip to content
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

Feature request: Word wrapping in buffers #1648

Open
VorpalBlade opened this issue Jul 2, 2022 · 0 comments
Open

Feature request: Word wrapping in buffers #1648

VorpalBlade opened this issue Jul 2, 2022 · 0 comments

Comments

@VorpalBlade
Copy link

VorpalBlade commented Jul 2, 2022

Hi,

I need to display a longer piece of text in my full screen program. According to the docstrings FormattedTextControl/Label is only suitable for shorter strings, so I went with Buffer/BufferControl, specifically the approach in #711 (for formatted buffer).

However neither that, nor the basic underlying buffer seems to support word wrapping (wrapping on space). Instead they wrap in the middle of words.

Either I'm missing something (in which case please inform me), or this is a feature request to support basic word wrapping.

I'm not asking for hyphenation, but it would be a nice bonus if this was implemented as a wrapping-policy. Then the user could provide a fancy version specific to their natural language of choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant