SyntaxEditorUI v0.14.0
New Features
- Added
SyntaxEditorModel.replaceContents(text:language:selectedRange:)for updating editor text, language, and selection together.
Improvements
- Preserves nearby syntax color and font styling for simple inserted text while asynchronous highlighting catches up, reducing typing-time highlight flicker on iOS and macOS.
Bug Fixes
- Cancels and replaces stale highlight requests so document and language replacements apply the latest syntax colors instead of letting older highlight work block or materialize later.
- Keeps in-flight semantic merge bookkeeping aligned when highlight work is superseded.
Full Changelog: v0.13.0...v0.14.0