On Sat, Jan 10, 2009 at 8:53 AM, john_perry_usm <john.pe...@usm.edu> wrote:
>
> One of the reasons I switched to Sage was that a handful of years ago
> the previous CAS I used (who shall remain nameless) introduced a
> worksheet interface that grossly slowed down the system. Rather than
> improve the efficiency, subsequent releases made things worse by
> adding an extremely slow syntax highlighting, "math display", and a
> bunch of other eye candy that they clearly had not thought out. Typing
> more than a few lines became a chore even on high-powered machines.

Yeah, Maple's UI design decisions are pretty baffling.

Anyway, we used to have javascript-based syntax highlighting in the
notebook for a little while about a year or so ago, but it just didn't
feel sufficiently snappy so we got rid of it.

Jason said:
> I have one very large cell in a notebook and it is very, very painful to
> type a single character in that cell currently.  You can download the

Have you tried

   Data --> Attach file

you could attach the code from that huge cell as a file, then edit it
that way, and just load it into your worksheet.   This might work
better for you, since there is nothing clever going on with the text
editor one gets that way, so it is very snappy.  Here's a step by step
tutorial:

1. create a new worksheet
2. Data --> "Upload or create file..."
3. In the box "Or enter the name of a new file, which will be
created:" put "foo.sage" then click "Upload file".
4. Put
def f(n):
    return n^2
in the box that you see and click save changes.
5. In your new sage worksheet, type
    load foo.sage
or
   attach foo.sage
6. Now f is defined.
7. If you click Data --> foo.sage, you get a box where you can edit foo.sage.

Somebody might want to improve the usability of the above, e.g.,
*this* would be a great place to make it possible to use a nice text
editor with syntax highlighting.   Like Moinmoin that editor could be
off by default, but by clicking a but one could trivially switch it
on.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to