CodeEditApp / CodeEditApp/CodeEditTextView

✨ Trailing Padding When Not Wrapping

Ouverte
#66 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Swift
Étoiles
182
Forks
54
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.