SwiftUI code editor view for iOS, visionOS, and macOS
This release has CodeEditor
ported to run on top of TextKit 2, which improves performance and adds support for the minimap on iOS. Moreover, visionOS is now explicitly supported.
NB: Due to changes in TextKit 2 in recent OS versions, this release requires macOS 14 and iOS 17. For older OS version, you can still use Release v0.12.0.
This release adds more language service support, including support for code completion.
NB: This is the last version based on TextKit 1.
With this release layout (especially during resizing on macOS) and performance is significantly improved. Moreover, the following features were added:
LayoutConfiguration
passed to the code view.Finally, there are the obligatory bug fixes.
NB: The location data type changed. This is an (easy to fix) breaking change.
This is the initial release of this new package. It is not production ready yet, but already includes a substantial amount of advanced and solid functionality.