✨ Trailing Padding When Not Wrapping
還沒有人認領這個 Issue。
評估
研究方向
首先追蹤停用換行時的文字版面配置行為。確定如何讓尾端內距可設定,包括提議的 48 像素間距以及停用它的方法,然後在文字編輯器中驗證視覺結果,並確認換行後的行不受影響。
由索引模型根據 Issue 內容生成。
描述
Description
When lines are not wrapped, there should be additional padding added to the trailing edge. This should probably be configurable for other consumers of this package.
Xcode and other editors add a trailing padding when not wrapping lines so there's better spacing visually on the trailing edge. I don't think this is default behavior for text views, which is why it should be either configurable or be able to be disabled. In Xcode, the padding is 48 pixels.
Alternatives Considered
The method in https://github.com/CodeEditApp/CodeEditSourceEditor/pull/272 was considered, but this has it's own issues. This type of text layout should be in the text editor.
Additional Context
No response
Screenshots
No response
- 主要語言
- Swift
- 星號
- 182
- 分支
- 57
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeEditApp/CodeEditTextView 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 48/100
CodeEditApp/CodeEditTextView#124 ·
-
bug
難度 3/5 1-2 天 新手友好度 48/100
CodeEditApp/CodeEditTextView#121 ·
-
enhancement
難度 5/5 一週以上 新手友好度 28/100
CodeEditApp/CodeEditTextView#119 ·
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
CodeEditApp/CodeEditTextView#106 ·
-
難度 4/5 3-5 天 新手友好度 35/100
查看 CodeEditApp/CodeEditTextView 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
googleapis/google-cloud-swift#1106 ·
-
bug channel: beta feature: preferences feature: ui/ux
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 1/5 1 小時以內 新手友好度 85/100
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
Cocoanetics/SwiftACP#52 ·