✨ Custom ruler view to support advanced requirements
還沒有人認領這個 Issue。
評估
研究方向
首先檢查現有的 STTextView ruler 實作和 CodeEditTextView 進入點,以了解目前的 ruler 行為。在 CodeEditTextView 中封裝一個 NSRulerView 子類別,並保留目前存在的基本 ruler 功能;所列出的偏好設定、行號、摺疊和比較增強功能明確不在範圍內。
由索引模型根據 Issue 內容生成。
描述
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:

- toggle line numbers on/off without hiding other RulerView features
- A code folding ribbon

- Code comparison controls

- 主要語言
- Swift
- 星號
- 720
- 分支
- 162
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeEditApp/CodeEditSourceEditor 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 則留言 ·
-
難度 1/5 1-3 小時 新手友好度 68/100
-
難度 3/5 1-2 天 新手友好度 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 32/100
查看 CodeEditApp/CodeEditSourceEditor 的全部 Issue
相似的 Issue
-
pending-maintainer-response pending-triage
難度 2/5 1-3 小時 新手友好度 75/100
-
area:build bug good first issue P2
難度 2/5 1-3 小時 新手友好度 75/100
uttrflow/uttrflow-swift#1412 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
enhancement
難度 1/5 1 小時以內 新手友好度 80/100
-
T-Defect
難度 2/5 1-3 小時 新手友好度 75/100
element-hq/element-x-ios#6191 ·