I have an NSTextField whose width is just enough for M and W. The filled can get set with text longer than one character. The user is to replace this multi-character text with a single character.
So, without having to double click to select all text before entering the single character replacement what is the best way to programmatically select the text? Do I subclass NSTextField , define a tracking rect and look for mouse entered and then -selectText? Seems extreme. Is there an easy way? -koko _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com