I want to place an NSAttributedString into an NSTextView, in a similar way to what the setString method does with NSString.
However, there does not appear to be any setAttributedString method for NSTextView.
I can use the insertText method, which works, but that is not quite the same thing, as it requires all existing text to be selected to have the same result, and it also calls the delegate method, textDidChange, which I definitely DON'T want.
How should I set the contents of and NSTextView to be the value of an NSAttributedString I already have?