Re: Wacky Text View Glyph Rending Bug
Re: Wacky Text View Glyph Rending Bug
- Subject: Re: Wacky Text View Glyph Rending Bug
- From: Seth Willits <email@hidden>
- Date: Wed, 27 May 2009 20:03:47 -0700
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@hidden)
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:
This email sent to email@hidden