Skip to content

Add ability to enable/disable line wrapping #3

Open

Description

@johnzhou721

What is the problem or limitation you are having?

The current widget always wraps lines, so that a long line becomes multiple lines. This is sometimes suboptimal if you have a really really long line in an otherwise pretty normal file, as it'll flood up most of your view.

Describe the solution you'd like

Add a line_wrap option that allows us to disable the line wrapping.

Describe alternatives you've considered

There really isn't any alternative imho, because most IDE's have a "line wrap" option. Perhaps letting the user truncate the text themselves?

Additional context

Great widget—this is extremely exciting!!!

Activity

  1. freakboy3742 commented on Oct 15, 2026

    @freakboy3742
    Member

    Agreed this would be good to add. In addition to an option at time of construction, it would need to be a boolean flag that can be toggled.

  2. moved this from To triage to Ready in BeeWare Planningon Oct 15, 2026
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

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions