ok, still me :P I've found the relevant ticket http://trac.sagemath.org/sage_trac/ticket/7501
now I'll try to apply the patch. it seems to me that this is actively worked on, and there should be some draft code on someone else's computer, so I am probably not any helpful here. cheers maurizio On 17 Feb, 22:24, Maurizio <maurizio.gran...@gmail.com> wrote: > I am sorry, > yesterday I started to work on this, but I was working on sage 4.2 > today I updated to sage 4.3.2, but I also noticed that in the > beginning of the file cell.py it is stated that it is part of the OLD > sage notebook... > now I should understand where to look again :) > > maurizio > > On 17 Feb, 21:59, Maurizio <maurizio.gran...@gmail.com> wrote: > > > hi all, > > I do not want to set any expectation, but I'd take some help with a > > small experiment > > I wanted to try to introduce codemirror in the notebook. as previously > > suggested by this list, it seems the most mature solution for syntax > > highlighting. I have tried myself bespin, and it is very feature-less > > at this stage. on the other hand, it has the very appealing feature of > > being a self-contained single .js file. > > > anyway, codemirror looks good, so I wanted to give it a try. > > I have two problems: > > 1) which functions exactly should I modify, to do it? I was having a > > look at the function html_in() in the file cell.py into /sage-4.3.2- > > linux-64bit-ubuntu_9.10-x86_64-Linux/devel/sage/sage/server/notebook. > > I am not sure that has been effective, where does the html a code for > > a new cell comes from? > > 2) where should I ideally put the javascript and css files necessary? > > how do I reach them within the path recognized by the html page? > > > the good thing of codemirror, is that it is just a script to be > > applied on a textarea within a div: doesn't that already match with > > the current status of a cell? > > > thanks a lot > > > maurizio > > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org