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.
If we replace
UITextView
andNSTextView
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.