On 11/21/11 8:07 PM, rych wrote:
Yes, I also see a normal text box ... which automagically turns into
line-numbered syntax-highlighted code editor in about 20-30 seconds.
Probably JavaScript code has to be loaded from somewhere ("Wating for
api.flattr.com" in the status bar). But now it's interactive: as soon
as I finish typing "for" it changes into a bold purple key-word.
Igor
I probably didn't wait long enough.
It looks like they use CodeMirror, like we use in the singlecell project
(sagemath.org:5467). That's the project I'm keeping my eye on for
possible eventual use in the Sage notebook. As of now, it's not a good
replacement for text boxes (for example, it doesn't work very well in
iOS sometimes), but it might be a nice option to have. In fact, we
already have CodeMirror version 1 included in the notebook to edit
python DATA files.
I think having line numbers beside textbox code cells is a way, way
lighter change than switching to codemirror. And definitely worth it too.
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org