CodeEditApp / CodeEditSourceEditor

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

🐞 Line text overlaps #183

Closed luah5 closed 8 months ago

luah5 commented 1 year ago

Description

When changing the font size from CE using Command + or just changing the font size in the settings the line numbers overlap

To Reproduce

  1. Open a workspace (or standalone file)
  2. Increase the font size using Command + or changing the font size in CodeEdit settings
  3. Notice the lines overlap

Expected Behavior

The line numbers should not overlap

Version Information

CodeEditTextView: [0.6.1] macOS: [13.2.1] Xcode: [14.3]

Additional Context

Similar to CodeEditApp/CodeEditSourceEditor#152 and CodeEditApp/CodeEditSourceEditor#20

Screenshots

https://user-images.githubusercontent.com/128280019/235316524-4e2f7d0e-7ffc-41d2-a3e6-74105b81e22b.mov

thecoolwinter commented 8 months ago

Fixed in CodeEditApp/CodeEditSourceEditor#211. However there is a font resizing bug, so closing in favor of CodeEditApp/CodeEditTextView#17.