Re: Return and Enter keys in NSTextView
Re: Return and Enter keys in NSTextView
- Subject: Re: Return and Enter keys in NSTextView
- From: "Erik M. Buck" <email@hidden>
- Date: Thu, 30 Aug 2001 11:16:05 -0500
>
Second:
>
This is the more interesting problem. To send a private message to a
>
single user, I have a small window with a NSTextView and a send button.
>
Since these messages will be somewhat larger, I want to let the user add
>
newlines with the return key. When using a standard textview, the user
>
needs to move his hands to the mouse to press the send button, since the
>
active textview would not let a return/enter press trigger the default
>
button.
>
>
This is fairly annoying, so I am trying to provide a shortcut where the
>
user can press return to get a newline, and enter to trigger the send
>
button.
>
Why not have a menu item with a quick key to send the text ? The user can
use the "Send Private Message" menu or keep hands on the keyboard and use
the quick key.