Skip to content

feat: add Cmd+/Cmd- editor font zoom#533

Merged
datlechin merged 1 commit intomainfrom
feat/editor-zoom
Mar 31, 2026
Merged

feat: add Cmd+/Cmd- editor font zoom#533
datlechin merged 1 commit intomainfrom
feat/editor-zoom

Conversation

@datlechin
Copy link
Copy Markdown
Collaborator

Summary

  • Added Cmd+= (Zoom In) and Cmd+- (Zoom Out) shortcuts in the View menu
  • ThemeEngine.adjustEditorFontSize(by:) adjusts the editor font size in-memory (session-only, not persisted to disk), clamps to 9-24pt, and rebuilds the editor font cache
  • Updated keyboard shortcuts docs

Test plan

  • Press Cmd+= multiple times — editor font grows, caps at 24pt
  • Press Cmd+- multiple times — editor font shrinks, caps at 9pt
  • Quit and reopen — font size resets to theme default (session-only zoom)
  • Verify data grid font is NOT affected (only editor zoom)

@datlechin datlechin merged commit 595595f into main Mar 31, 2026
2 checks passed
@datlechin datlechin deleted the feat/editor-zoom branch March 31, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant