• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wacky Text View Glyph Rending Bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Wacky Text View Glyph Rending Bug (From: Seth Willits <email@hidden>)
 >Re: Wacky Text View Glyph Rending Bug (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: Fixing logged error that doesn't throw exception [SOLVED]
  • Next by Date: How determine if file is in Trash, given Path or Alias
  • Previous by thread: Re: Wacky Text View Glyph Rending Bug
  • Next by thread: Re: NSURLConnection sendSynchronousRequest: crashes since, upgrading to 10.5.7
  • Index(es):
    • Date
    • Thread