On Fri, May 30, 2008 at 11:13 AM, Gordon Apple <[EMAIL PROTECTED]> wrote: > Why NSTextStorage? Because that is what Sketch uses, and I lifted as > much code from there as I could, although I use my own Bezier text container > when rendering it. The floating NSTextView uses it directly. I suppose I > could change it to store NSMutableAttributedString and create the > NSTextStorage on-the-fly when rendering (and for the floating edit view).
IIRC, NSTextStorage is actually just a front for a private subclass of NSMutableAttributedString. For all I know they could actually be the same thing -- certainly wouldn't surprise me. --Kyle Sluder _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]