CodeEditApp / CodeEditApp/CodeEditSourceEditor

✨ Custom ruler view to support advanced requirements

未关闭
#127 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
719
派生
160
PR 合并指标
30 天内没有已合并 PR

描述

## 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。