mchakravarty / CodeEditorView

SwiftUI code editor view for iOS, visionOS, and macOS
Apache License 2.0
697 stars 63 forks source link

Custom code view #93

Open mchakravarty opened 10 months ago

mchakravarty commented 10 months ago

If we replace UITextView and NSTextView with a custom view that is more specialised to code editing, we should be able to improve performance. For example, the standard views can accomodate wide ranging changes to attributes that change layout, but expect them to be a lot less frequent than the attributes needed for syntax highlighting.