Skip to content

🐞 Strange editor scroll behavior #1306

@wjk

Description

@wjk

Description

When I have line-wrap turned on, CodeEdit does not correctly wrap lines of text. There is a small left/right scrolling (about the width of four monospaced characters) in CodeEdit’s text views. When I resize the window, text rewraps as expected, but the left/right scroll does not disappear. This also means that the rightmost edges of wrapped lines of text are cut off unless I scroll to the right. The below screenshots should illustrate this.

To Reproduce

  1. Enable line-wrap
  2. Open a file with a long line in it
  3. Scroll left and right within in the text editor area

Expected Behavior

This shouldn’t happen, and the entire line of text should be visible without having to scroll to the right.

Version Information

CodeEdit: 0.0.3-alpha (32)
macOS: 13.4 (22F66)
Xcode: 15.0 (15A5160n)

Additional Context

No response

Screenshots

Screenshot 2023-06-09 at 9 01 00 PM Screenshot 2023-06-09 at 9 01 14 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions