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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 Font resize doesn't cause layout for lines previously outside the viewport #17

Open
thecoolwinter opened this issue Dec 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@thecoolwinter
Copy link
Contributor

thecoolwinter commented Dec 9, 2023

Description

When changing font size the number of lines in the viewport may change if the difference in size is large enough. This causes lines to be displayed, but layout regeneration is not caused until something like a scroll action occurs.

To Reproduce

  1. Open a document
  2. Change the font size to something large (20)
  3. Change the font size to something small (4)

Observe that there are lines visible with the previous font size.

Expected Behavior

Changing the font size should cause layout for all visible lines.

Version Information

CodeEditTextView: main (40d8e88)
macOS: 13.6.1
Xcode: 15.0

Additional Context

No response

Screenshots

Screen.Recording.2023-12-09.at.3.16.59.PM.mov
@thecoolwinter thecoolwinter added the bug Something isn't working label Dec 9, 2023
@thecoolwinter thecoolwinter transferred this issue from CodeEditApp/CodeEditSourceEditor Feb 5, 2024
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: 馃啎 New
Development

No branches or pull requests

1 participant