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

Adjust Gutter Background, Add Trailing Padding #272

Closed thecoolwinter closed 3 weeks ago

thecoolwinter commented 3 weeks ago

Description

Related Issues

Checklist

Screenshots

New leading gutter padding, includes some spacing between where the gutter starts to overlap the text and where the gutter is spaced to.

https://github.com/user-attachments/assets/35688a7f-d157-428d-9eac-8cfb35c62a1e

Xcode Comparison

Xcode: ![Screenshot 2024-11-07 at 9 40 22 PM](https://github.com/user-attachments/assets/5c9ffbbe-53f1-4834-b7cc-5256905dc37f) CodeEdit: ![Screenshot 2024-11-07 at 9 39 34 PM](https://github.com/user-attachments/assets/d90e7dbf-1311-48e6-b6d1-08dbf3531fe9)

Added some padding to the trailing edge when line wrap is disabled:

Screenshot 2024-11-07 at 10 18 00 PM