Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Labels
bugSomething isn't working
@thecoolwinter

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Todo

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /