William Stein <[email protected]> writes:
> On Mon, Feb 4, 2013 at 6:46 PM, Keshav Kini <[email protected]> wrote:
>> kcrisman <[email protected]> writes:
>>> Rather enjoying my off day, but the lingering effects of pchem
>>> homework remain.. I keep hitting shift+enter instead of enter cuz Ive
>>> been using Sage so much!
>>
>> That is kind of backwards from most UIs, isn't it?  Typically shift+enter
>> is used to insert a literal line break in an input field and enter is
>> used to submit.
>
> The input part of a cell is a multiline textarea, and enter is rarely
> the submit keystroke in a multiline input in other UI's.    Usually
> enter creates a carriage return and there is a button to submit (e.g.,
> see every web form, Google +, Facebook posts, etc.).  Of course,
> Facebook *comments* on posts make enter submit and shift-enter a
> newline.

But it doesn't display as multiline - it starts out as single-line and
stretches. This is similar to the Facebook comment box, where Enter
submits and Shift+Enter inserts literal line breaks. The Facebook post
submission box starts out several lines tall, as does the Google+ post
submission box and the Google+ comment box, and all of those have the
opposite behavior.

>> I guess we originally borrowed this behavior from
>> Mathematica, which is another program that has the same "backwards"
>> behavior that we do.
>
> We do this mainly because Mathematica does.   In Salvus, the submit
> keyboard shortcut will be configurable, which is definitely the right
> choice.

+1!

-Keshav

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-edu?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to