Skip to content

✨ Trailing Padding When Not Wrapping #66

Open
@thecoolwinter

Description

@thecoolwinter

Description

When lines are not wrapped, there should be additional padding added to the trailing edge. This should probably be configurable for other consumers of this package.

Xcode and other editors add a trailing padding when not wrapping lines so there's better spacing visually on the trailing edge. I don't think this is default behavior for text views, which is why it should be either configurable or be able to be disabled. In Xcode, the padding is 48 pixels.

Alternatives Considered

The method in CodeEditApp/CodeEditSourceEditor#272 was considered, but this has it's own issues. This type of text layout should be in the text editor.

Additional Context

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    📋 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions