Comment #1 on issue 2589 by matt...@gmail.com: Implement tab completion in SymPy Live
http://code.google.com/p/sympy/issues/detail?id=2589

On Python level this is straight forward, but on JavaScript level not that much, because Tab key handling in web browsers is very peculiar (e.g. in (at least some versions) of Firefox it's not possible to stop the event, so you get the action implemented by you and the default one, which is move focus to the next UI element), you have to figure out how much of the text you should take into consideration (which isn't that hard, when you have all the cursor manipulation code figured out in a cross-browser compatible way) and you have to present completion results in some way if there were more than one possibilities (which can be very tricky, depending on the method of display: e.g. computing text metrics, taking all possible scroll offsets into account).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to