> > Better still, don’t store the attributed string persistently anywhere, but > pass it through the background processing then on to the main thread as a > parameter to the updateUI function.
Thanks for that suggestion; it wasn’t the answer, but it did lead me to rewrite significant portions of my code and the whole is a lot better for it. I finally stumbled across the answer by accident (one for the archives, this): In IB, the textview had the ‘non-contiguous Layout’ option checked. According to the docs[1], this is supposed to be off by default for reasons which exactly apply to my situation, but I note that if you build a new project in Xcode 9 and just throw in a bog-standard NSTextView, that option comes along already checked. 1. See: https://developer.apple.com/documentation/uikit/nslayoutmanager Best Phil @sqwarq _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com