v0.12.0
SyntaxEditorUI v0.12.0
Breaking Changes
- Rename
SyntaxEditorColorThemetoSyntaxEditorTheme; update references to built-in presets and custom themes accordingly. - Rename
SyntaxEditorModel.colorThemeand thecolorTheme:initializer argument tothemeandtheme:. - Require custom
SyntaxEditorThemevalues to provide afont. Editor font size now comes from the theme, withfontSizeDeltaapplied relative to that theme font.
Improvements
- Move Swift and Objective-C semantic highlighting work off the typing path and keep incremental refreshes local to edited lines where possible, reducing latency for normal edits, large edits, and paste-sized updates.
- Rework highlight rendering around normalized color/font snapshots so UIKit and AppKit preserve visible syntax colors and fonts while async highlights, theme changes, and font-size changes settle.
- Improve Swift and Objective-C semantic refresh/indexing so declaration, scope, member, macro, typedef, and local-shadow edits refresh affected references without stale overlays.
Bug Fixes
- Keep UIKit/AppKit highlights valid after rapid edits, cancelled highlight work, EOF appends, CR line edits, multi-range edits, and theme/font changes.
- Preserve additional Objective-C semantic contexts, including block/function typedefs, macro argument types, method parameter types, fast enumeration types, nested typedefs, ivar types, and parenthesized typedefs.
Migration Notes
- See the
v0.12.0migration section inREADME.mdfor the exact API rename and custom theme font requirements.
Full Changelog: v0.11.0...v0.12.0