Re: [SOLVED] Re: How to override [NSTextField paste:]

2012-06-16 Thread Kyle Sluder
On Jun 15, 2012, at 4:23 PM, Graham Cox graham@bigpond.com wrote: On 16/06/2012, at 4:06 AM, Kyle Sluder wrote: Your best bet is probably to retarget the Paste menu item to use a different selector that is picked up by your window controller. Thanks Kyle, Unfortunately the

How to override [NSTextField paste:]

2012-06-15 Thread Graham Cox
Is there a way to override the -paste: method of NSTextField, other than subclassing? I have a situation where I want to handle paste for several related text entry fields at once. I have implemented -paste: in the controller for these, but of course it goes to first responder which is the

Re: How to override [NSTextField paste:]

2012-06-15 Thread Kyle Sluder
On Jun 14, 2012, at 11:04 PM, Graham Cox wrote: Is there a way to override the -paste: method of NSTextField, other than subclassing? I have a situation where I want to handle paste for several related text entry fields at once. I have implemented -paste: in the controller for these,

[SOLVED] Re: How to override [NSTextField paste:]

2012-06-15 Thread Graham Cox
On 16/06/2012, at 4:06 AM, Kyle Sluder wrote: Your best bet is probably to retarget the Paste menu item to use a different selector that is picked up by your window controller. Thanks Kyle, Unfortunately the standard paste: selector is used extensively elsewhere in my app, so this simple