On Feb 5, 2009, at 12:17 PM, Eric Gorr wrote:
I wasn't sure what _textField2 was supposed to refer to exactly,

Oops, copy-paste error. :)

so I tried this instead:

[[textField currentEditor] setSelectedRange:NSMakeRange(0, 0)];

Bah, currentEditor is what I was trying to remember.

--Andy

_______________________________________________

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