Re: Cmd+key shortcuts not being sent to NSWindow on Tiger

2009-08-11 Thread Kirk Swenson
On Aug 10, 2009, at 11:04 PM, Uli Kusterer wrote: On Aug 8, 2009, at 3:30 AM, Kirk Swenson wrote: - (id) windowWillReturnFieldEditor: (NSWindow*) aWindow toObject: (id) anObject { // myTextFieldEditor is a member variable, so there will only be one of them

Re: Cmd+key shortcuts not being sent to NSWindow on Tiger

2009-08-07 Thread Kirk Swenson
: YES]; } return myTextFieldEditor; } There may be a better solution out there, but this seems to work. Kirk Swenson Senior Software Engineer KCP Technologies ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Best way to modify user input into NSTextView

2009-03-31 Thread Kirk Swenson
, and then passing the replacement string to [super insertText:]. Of course, to use this approach you have to implement windowWillReturnFieldEditor:toObject: in your window controller to return your derived class when asked. Kirk Swenson KCP Technologies

Re: The fieldEditor and a focus ring

2009-03-02 Thread Kirk Swenson
bezierPathWithRect:focusRingBounds]; [path setClip]; [path fill]; [NSGraphicsContext restoreGraphicsState]; [self unlockFocus]; Essentially the same code is working for me, except that I'm not calling the setClip method. Have you tried without the call to setClip? Kirk Swenson KCP Technologies, Inc

Re: Configuring NSNumberFormatter non-programmatically

2008-12-23 Thread Kirk Swenson
symbol). Kirk Swenson KCP Technologies ___ 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