• 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
NSTextView redraw while resigning first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView redraw while resigning first responder


  • Subject: NSTextView redraw while resigning first responder
  • From: vincent habchi <email@hidden>
  • Date: Sat, 7 Aug 2010 22:25:15 +0200

Hi there again, sorry for being a bit too verbose tonight (it's 10:18 pm here).

Just something strange, or something I misunderstood. I have an NSTextField that serves as a semi-assisted SQL editor: it colors keywords and operators, and also changes their glyphs on-the-fly to make them look uppercase (albeit casing is unaltered in the underlying NSAttributedText).

But, when my NSTextField resigns first responder status, it seems the NSAttributedText is redrawn without going through the normal process (the "standard" layout process chain): the keywords go back to lowercase and I don't see any NSGlyphGenerator call to layout this "inactive" print.

Is that normal?

Thanks, have a great week-end
Vincent_______________________________________________

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

  • Follow-Ups:
    • Re: NSTextView redraw while resigning first responder
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Hiding Document Files from iTunes
  • Next by Date: Re: Core Data : Multiuser ?
  • Previous by thread: Re: Hiding Document Files from iTunes
  • Next by thread: Re: NSTextView redraw while resigning first responder
  • Index(es):
    • Date
    • Thread