So I just stripped the entire project down to 60 lines of code and it
was still happening. I was JUST about to click send and then I re-read
your message, and it turns out I forgot to call -
edited:range:changeInLength: from within -setAttributes:range:
Added that one line and all is good.
Thanks,
--
Seth Willits
On May 27, 2009, at 6:27 PM, Aki Inoue wrote:
Looks like the glyph info stored in NSLayoutManager is out of sync.
Are you calling -edited:range:changeInLength: from your
implementation of attribute modifying methods ?
Aki
On 2009/05/27, at 18:19, Seth Willits wrote:
http://www.sethwillits.com/temp/TextViewGlyphBug.mov
I have a custom text storage object, and I assume that's at the
core of this issue, but I'm not sure what's going on. Any ideas?
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]