I’ve just spent a total of about 2 hours taking apart and rebuilding an interface window because those little red dotted underlines on misspelled words in an NSTextView were appearing about a line and a half too high and about 4em to the right. Net result? It seems that if core animation is enabled for the content view of a window, which is also the parent view of the NSTextView, spelling underlining becomes very broken. Adding a custom view inside the content view and enabling core animation for that custom view (and putting the objects that needed their parent to have core animation enabled inside that custom view) seems to have solved the issue.
-
« Home
-
Categories
Post a Comment