I don't notice any difference of speed (I'm on Firefox 3.5.2, btw.) It seems
that the editor works as an iframe in the document (that's how FCKEditor
(now CKEditor) works, too). The DOM traversal to add elements can be slow, I
guess. I haven't read the source code (I'll take a peek at it later) though.

BeSpin bypasses the issue of DOM traversal by implementing *everything* in
an HTML <canvas> element:
http://ajaxian.com/archives/canvas-for-a-text-editor. It's basically drawing
directly on the screen, so it's *very* fast, save for some bugs/issues.

On Thu, Sep 24, 2009 at 7:11 PM, William Stein <wst...@gmail.com> wrote:

>
> On Thu, Sep 24, 2009 at 3:57 AM, Tim Joseph Dumol <t...@timdumol.com>
> wrote:
> > Regarding syntax highlighting, I just found a list on wikipedia of
> editors
> > we can use:
> >
> >
> http://en.wikipedia.org/wiki/Comparison_of_Javascript-based_source_code_editors
> >
> > CodeMirror (http://marijn.haverbeke.nl/codemirror/) seems to be the most
> > promising. Here's the demo:
> > http://marijn.haverbeke.nl/codemirror/contrib/python/index.html.
> EditArea is
> > also good, and comes with i18n:
> >
> http://www.cdolivet.com/index.php?page=editArea&sess=6ef80ec2026659ce741a8ec0f9b36605
> .
> > Demo:
> http://www.cdolivet.com/editarea/editarea/exemples/exemple_full.html.
> >
> > What do you guys think?
>
> I just  tried
> http://marijn.haverbeke.nl/codemirror/contrib/python/index.html
> and it feel pretty slow to me compared to a normal text area.  What do
> you think?    Why are these slow?
>
> William
>
> >
>


-- 
Tim Joseph Dumol <tim (at) timdumol (dot) com>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to