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

Make ruler look more like Xcode. #163

Closed Eliulm closed 1 year ago

Eliulm commented 1 year ago

Description

  1. Add 20 pixels of inset to the left of the ruler and 8 pixels of inset to the right of the ruler. I tried to match it as close as possible to Xcode.
  2. Set the background color of the highlight ruler line to the same color as the highlighted line in the textView.

Related Issues

Checklist

Screenshots

Screenshot 2023-03-16 at 19 05 59
austincondiff commented 1 year ago

@Eliulm Looks good! Please comment on both of the related issues so I can assign them to you.