CodeEditApp / CodeEditApp/CodeEditTextView

✨ Trailing Padding When Not Wrapping

オープン
#66 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Swift
スター
182
フォーク
54
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。