On Tue, Apr 22, 2008 at 5:44 AM, DAZ <[EMAIL PROTECTED]> wrote: > I've noticed that the editor has some short-cut keys like ctrl-s for > saving and tab indents. Are there any more?
Most of the key shortcuts are normal editing techniques, like ctrl-right arrow to highlight to the end of the word, or ctrl-z / ctrl-shift-z to undo and redo. The only other one that you might not be able to guess is ctrl-] and ctrl-[ to indent and unindent either the current line or the selection, similar to TextMate. > Adam, if you could get round to open sourcing this it would be truly > wonderful. I'm sure the community would rally round and get support > for lots of different languages too. Yeah, I've thought about this from almost the very beginning; there is at least one open source javascript text editor that I know of (codepress.org) but I'd love to add ours to the mix as well. Just a matter of finding the time to break it out into a separate component, which is always harder than it sounds. > Is the code highlighting done using CSS? I'm thinking it would be easy to > make it > themeable.... Yeah, it's css and javascript, like most of the editor. Here's a link to the syntax highlighter code, if you're curious: http://katana.heroku.com/javascripts/editor/ruby_syntax.js :) Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
