CodeEditApp / CodeEditApp/CodeEditSourceEditor

✨ Custom ruler view to support advanced requirements

Open
#127 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
719
Forks
160
PR merge metrics
No merged PRs in 30d

Description

## Description

The vertical ruler (`NSRulerView`) has a number of requirements that no longer can be efficiently met by STTextView's implementation.

The recommendation is for an NSRulerView subclass to instead be encapsulated within CodeEditTextView, to provide easier workflows for contributors to customize and enhance it. See the bottom of this description for a list of proposed enhancements after this port is complete.

The goal of this enhancement should be to provide basic RulerView functionality aligned with what exists today in the project. **It is not to implement the enhancements listed below!**

**Future enhancements will likely include**
- support for the same preferences available in Xcode's preferences:
image
- toggle line numbers on/off without hiding other RulerView features
- A code folding ribbon
image
- Code comparison controls
image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.