CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
510 stars 78 forks source link

🐞 Padding on Line 1 & 2 is missing when no characters are found #152

Closed tdeverx closed 9 months ago

tdeverx commented 1 year ago

Description

See video below:

https://user-images.githubusercontent.com/44447832/218308866-44375803-14c9-4f3c-b58f-dbba7a5d5d36.mov

To Reproduce

  1. Create New File,
  2. Start Typing,
  3. See Issue.

Expected behavior

Padding should be applied even when the line is empty.

Version information

CodeEdit: 0.0.1-alpha (25) macOS: 13.1 (22C65) Xcode: 14.2 (14C18)

Related issues

TheAbstractDev commented 1 year ago

Hey ! I'd like to do this task

FastestMolasses commented 1 year ago

This looks like an issue in the STTextView package. I've been looking at related issues around the text view, seems most of them are coming from this library. #1379 #1385 #184 #1008

thecoolwinter commented 9 months ago

Fixed with #211.