Re: Return key should not end editing in NSTextField
Re: Return key should not end editing in NSTextField
- Subject: Re: Return key should not end editing in NSTextField
- From: Douglas Davidson <email@hidden>
- Date: Mon, 20 Jan 2003 15:01:47 -0800
On Monday, January 20, 2003, at 02:45 PM, Beat Koch wrote:
This works as long as the current insertion point is at the end of the
text but obviously not while it is in the middle. I have tried to send
[control insertNewlineIgnoringFieldEditor:self] but NSTextField does
not implement this method. If I send [control insertText:@"\n"] I just
get a beep.
Send insertNewlineIgnoringFieldEditor: to the textView, not the control.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.