CodeEditApp / CodeEditApp/CodeEditTextView

✨ Trailing Padding When Not Wrapping

Aberta
#66 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Swift
Estrelas
182
Forks
54
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.