Skip to content

Code font size change resets editor scroll and skips merge conflict blocks #34

Open

Description

@svenbuild

Changing the code font size (settings slider, and now Ctrl+wheel from #31) has two side effects:

  • Editor scroll: WorkspaceEditor rebuilds its view on a font size change, so the horizontal scroll position jumps back to 0.
  • Merge conflict blocks: MergeConflictViewer does not include the font size in its block refresh, so blocks that are already rendered keep the old size until they render again.

Both existed before #31. Ctrl+wheel just makes them easier to hit.

Expected: a font size change keeps the scroll position on both axes, and every visible block uses the new size.

Smaller follow-ups from the #30/#33 review, low priority:

  • Pressing F5 while a typed path is still being validated cancels that navigation. The text stays, but the picker stays in the old folder.
  • Two drops within milliseconds on opposite sides of the compare view can combine into one compare.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions