0
votes

I'm trying to implement a text editing component with certain characteristics and I wonder what is the best route, extend NSTextView or implement NSTextInputClient.

The text component should obviously support UTF-8 and attributed text. I also want to display information balloons when the user hovers on certain words.

How hard is it to implement a new text view from NSTextInputClient? How easy it is to display custom views with a normal NSTextView?

1

1 Answers

1
votes

Since you want to change the presentation of the text, and not how it is being stored, subclass NSTextView (the presentation).