CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
535 stars 84 forks source link

🐞 Left half of cursor cut off when at beginning of line #271

Closed austincondiff closed 3 weeks ago

austincondiff commented 1 month ago

Description

When the cursor is at the beginning of the line, the left half of it is cut off by the gutter view.

To Reproduce

  1. Open file
  2. Place cursor at beginning of line

Expected Behavior

Notice the left side of the cursor is cut off making it appear thinner.

Version Information

No response

Additional Context

We might add a pixel or two of left padding to prevent this.

Screenshots

https://github.com/user-attachments/assets/069f88ad-11cf-42ed-bec1-01ebbbe13942