William Stein <wst...@gmail.com> writes: > On Mon, Feb 4, 2013 at 8:32 PM, Keshav Kini <keshav.k...@gmail.com> wrote: >> William Stein <wst...@gmail.com> writes: >>> On Mon, Feb 4, 2013 at 6:46 PM, Keshav Kini <keshav.k...@gmail.com> wrote: >>>> kcrisman <kcris...@gmail.com> 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. > > (I'm guessing "it" = "The Sage Notebook".)
Right, sorry. >> This is similar to the Facebook comment box, where Enter >> submits and Shift+Enter inserts literal line breaks. > > (I'm guessing "this" = the sage notebook.) Right again. >> The Facebook post >> submission box starts out several lines tall, > > It starts out one line, then becomes 3 lines when you click on it. > And then it expands. Starting with 1 line versus "1 then 3" lines is > in my opinion a red herring. That's the only difference. IMO its appearance when you are about to type something into it (i.e. 3 lines tall) is what is relevant here. By the way, the expanded version contains a bunch of widgets and things, and doesn't go away even when you defocus it immediately without typing anything in it. So it seems reasonable to think that it's not one input field dynamically expanding, but rather the page swapping in a different widget. In fact, on profile pages (at least in the new-ish Timeline View) the three-line-tall widget is there from page load onward. >> as does the Google+ post >> submission box and the Google+ comment box, and all of those have the >> opposite behavior. > > "Opposite behavior" to what? Opposite to the Facebook comment box, i.e. using Enter for "insert line break" rather than "submit". Well, I guess it's not really opposite since they use Shift+Enter for inserting line breaks too. > In any case, *fully configurable* is clearly the way to go. Absolutely :) But then there's always the remaining question of what the best default is. -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 sage-edu+unsubscr...@googlegroups.com. To post to this group, send email to sage-edu@googlegroups.com. Visit this group at http://groups.google.com/group/sage-edu?hl=en. For more options, visit https://groups.google.com/groups/opt_out.