On Tue, Apr 22, 2008 at 1:25 AM, Mike Hansen <[EMAIL PROTECTED]> wrote: > > Hi, > > Do you know a good example of an javascript text editor that does > this? If you could search around, that would be most helpful. The > biggest concern is probably the impact on performance; it's the same > issue with things like syntax highlighting. > > --Mike
Mike, Currently every time the user presses a key in the notebook we run a javascript command to resize the cell input area. This is pretty optimized. It would certainly also be possible that every time the ')' key is pressed, a javascript command is run that does some matching -- I don't know what it would *literally* do to emphasize the matching -- but it could do something. I think the hard part, by far, is simply writing a javascript function to find the corresponding matching paranthesis earlier in a string. And, well, that doesn't sound very hard. I think this feature request is reasonable, but the way to implement it is to just do it directly instead of including a full javascript text editor. What do you think? william --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---