Skip to content

Feature request: Word wrapping in buffers #1648

Description

@VorpalBlade

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions