Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Erratic behavior of interline spacing #168

Closed
richardtop opened this issue Mar 19, 2023 · 3 comments
Closed

🐞 Erratic behavior of interline spacing #168

richardtop opened this issue Mar 19, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@richardtop
Copy link

Description

Interline spacing behavior is inconsistent and erratic, line spacing is not respected after resizing a window. Often, a new line inserted is displayed as having a larger interline spacing compared to the one that is required.

To Reproduce

  1. Create a file with some text, e.g.:

CalendarKit is a Swift calendar UI library for iOS and Mac Catalyst. It looks similar to the Apple Calendar app out-of-the-box, while allowing customization when needed. CalendarKit is composed of multiple modules which can be used together or independently.

(on a single line, no newline characters)

  1. Press "return" key and observe the interline spacing
  2. Type some text, e.g. "L"
  3. Observe that the interline spacing has increased
  4. Type "return" a few more times, type some text after either each line or at some point down...
  5. Observe the interline spacing, remember it's size
  6. Try to resize the window by dragging it's bottom right corner
  7. Observe that the interline spacing collapses to the correct size now and the text looks consistent

Expected Behavior

Interline spacing is consistent across the whole file, both, the new (added) lines and the old lines have the same interline spacing.

Version Information

CodeEdit: 0.0.3-alpha.30

Additional Context

No response

Screenshots

Bildschirm­foto 2023-03-19 um 05 45 19

Bildschirm­foto 2023-03-19 um 05 45 25

Bildschirm­foto 2023-03-19 um 05 58 58

Bildschirm­foto 2023-03-19 um 05 59 09

@richardtop richardtop added the bug Something isn't working label Mar 19, 2023
@lukepistrol
Copy link
Member

Transferring this issue to CodeEditTextView

@lukepistrol lukepistrol transferred this issue from CodeEditApp/CodeEdit Mar 23, 2023
@lukepistrol lukepistrol moved this from 🆕 New to 📋 Todo in CodeEdit Project Mar 23, 2023
@thecoolwinter
Copy link
Collaborator

Looks like it's maybe related to #142. Is this still reproducible in the latest CodeEdit alpha?

@thecoolwinter
Copy link
Collaborator

Closing this issue due to no response, likely fixed with #142 but feel free to re-open if not the case.

@github-project-automation github-project-automation bot moved this from 📋 Todo to 🏁 Complete in CodeEdit Project Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏁 Complete
Development

No branches or pull requests

3 participants