v0.10.0
SyntaxEditorUI v0.10.0
New Features
- Add
SyntaxEditorConfiguration.fontSizeDeltaplusincreaseFontSize(),decreaseFontSize(), andresetFontSize()for Xcode-style editor font size control on iOS and macOS. - Add
SyntaxEditorMenubuilders for installing anEditormenu 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.fontpublic iOS API. UseSyntaxEditorConfiguration.fontSizeDeltaor the font-size command methods instead. - Remove the unavailable
SyntaxEditorColorTheme.xcodealias. UseSyntaxEditorColorTheme.default,.default, orSyntaxEditorColorTheme.preset(_:).
Improvements
- Update
ObservationBridgetov0.10.1.
Full Changelog: v0.9.0...v0.10.0