NSTextView redraw while resigning first responder
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