Re: NSLayoutManager and NSTextView problems
Re: NSLayoutManager and NSTextView problems
- Subject: Re: NSLayoutManager and NSTextView problems
- From: Douglas Davidson <email@hidden>
- Date: Fri, 21 Nov 2003 14:08:04 -0800
On Nov 21, 2003, at 1:41 PM, Rob Minerick wrote:
I somehow forgot to mention that the problem comes when I try to
change the new NSTextStorage object as such:
[newTextStorage beginEditing];
[newTextStorage setAttributedString:RTFD];
[newTextStorage endEditing];
From the bt, my best guess is that the associated text view still has a
stale selection left over from the previous contents. I'm not sure why
that is happening, but try resetting the selection when you change the
contents.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.