Skip to content

Add ability to enable/disable line wrapping #3

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!!!

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