Tom Boothby wrote:
> Working with the limited tools at my disposal (this will all go away
> with BeSpin, if they know what they're doing), I introduce a hotkey
> which finds the first open paren / brace / bracket and closes it at
> your current cursor location:
> 
> http://trac.sagemath.org/sage_trac/ticket/3646
> 
> This is *almost* done.  For some reason, I didn't see J. Palmieri's
> most recent reply until now, but there's a very easy fix.
> 
> The problem with your suggestion is that highlighting something in a
> cell is rather difficult since we use textareas and not franken-divs
> as you see in the WSYIWYG html editors.  We've tried to use a few of
> those, but they have way too much CPU / RAM overhead.  We played with
> the emacs (?) style where the cursor jumps to the paren for  a
> half-second or so, but this was rife with problems, too.
> \

What about changing it for half a second or so to some character, like 
&?  In a sense, think of it as highlighting.  So when you cursor over a 
closing parenthesis, the opening one changes briefly to an & to let you 
know where it is.

This might be a horrible idea---I'm just throwing it out there in the 
interest of brainstorming.

That said, I would *really* like to eventually support the 
"franken-divs".  That would open up lots and lots of possibilities.  I 
know we've tried various content-editable divs for text cells 
unsuccessfully.  Maybe our own very-lightweight solution would be best.

How do you see BeSpin changing things?  Isn't that pretty heavy-weight?

Jason


--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to