Skip to content

v0.10.0

Choose a tag to compare

@lynnswap lynnswap released this 28 May 10:13
· 207 commits to main since this release

SyntaxEditorUI v0.10.0

New Features

  • Add SyntaxEditorConfiguration.fontSizeDelta plus increaseFontSize(), decreaseFontSize(), and resetFontSize() for Xcode-style editor font size control on iOS and macOS.
  • Add SyntaxEditorMenu builders for installing an Editor menu with structure, font size, and line wrapping commands on UIKit and AppKit.

Bug Fixes

  • Update selected macOS editor text immediately when font size commands change the rendered font.
  • Keep syntax-highlighted fonts and cached highlights in sync after font size changes.

Migration

  • Remove the unavailable SyntaxEditorView.font public iOS API. Use SyntaxEditorConfiguration.fontSizeDelta or the font-size command methods instead.
  • Remove the unavailable SyntaxEditorColorTheme.xcode alias. Use SyntaxEditorColorTheme.default, .default, or SyntaxEditorColorTheme.preset(_:).

Improvements

  • Update ObservationBridge to v0.10.1.

Full Changelog: v0.9.0...v0.10.0