On Sat, Apr 19, 2008 at 10:56 AM, <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 19 Apr 2008, William Stein wrote: > > > > > On Sat, Apr 19, 2008 at 9:51 AM, Andrey Novoseltsev <[EMAIL PROTECTED]> > wrote: > >> > >> How about syntax highlighting in code cells? > > > > We already implemented that two different ways. Both ways were too > > slow and/or inconsistent, so we disabled/removed the functionality. When > > it comes to the notebook (which is in javascript), that it feels snappy > > and works robustly is more important than it having too many features. > > We have also experimented with much more sophisticated "code editor" > > modes in the input worksheet cells -- but again snappiness and robustness > > are too much impacted. > > > >> Also, I think that default line truncation can be improved: sometimes > >> even if a line fits my screen without horizontal scrolling it gets > >> truncated and I need to click on the output (twice) to make it look > >> better. Is it possible to determine the width of the screen and > >> truncate only lines that are longer? Or, perhaps, non-truncating mode > >> will work better as the default? > > > > Input or output? > > > > For about 2/3 the things I personally want to output word wrap is better, > and > > for the other half, word wrap is worse. > > > Seriously, though... it used to be that clocking to the left would un-wrap, > and then hide.
True. > For some reason, that cycle got reversed. Are you sure? > I find it obnoxious to have to click twice to un-wrap. So would I. Fortunately that's not and never has been how the notebook works... at least for me. Can you double check? I'm puzzled, because Andrey also said: "I need to click on the output (twice) ...", yet I'm sitting here trying it and one clicks switches from word wrap to not word wrap; the second click switch to hide. It's been like that since I implemented the javascript to do that nearly two years ago. That code hasn't been touched in years as far as I remember. > Perhaps the easiest way to improve the current behavior is to > switch un-wrap and hide. Done. Already? -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---