On Aug 26, 2009, at 6:34 AM, bryscomat <brysco...@gmail.com> wrote:

Yes, I came across this in the documentaion. After playing with it for a little bit (and a couple other methods like it) I thought it was just not honored in an NSTextFieldCell. That method never gets called when I override it. I have overridden drawWithFrame:inView: without calling super. Is that why?

No, it's because -highlight… could never do the job. Some NSText object is going to be used to draw the text field's contents. And in the most important case, editing, the field editor is doing all the drawing anyway.

--Kyle Sluder_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to