User blog comment:Kirkburn/Syntax highlighting - helping you read and write code/@comment-24473195-20150319184645

I've noticed that the source editor for js/lua pages has a lot of hidden functionality. This functionality is very powerful and also a time-saver, so my question is whether this is documented somewhere, and if not I'd like to formally suggest that it be documented.

Some of the more useful functions are:

It would also be nice to get line numbers in the lua console. It is really better to debug modules using the console, and is by far the biggest time saver.
 * "foldall", bindKey: ("Alt-0", "Command-Option-0"),
 * "unfoldall", bindKey: ("Alt-Shift-0", "Command-Option-Shift-0"),
 * "togglerecording", bindKey: ("Ctrl-Alt-E", "Command-Option-E"),
 * "replaymacro", bindKey: ("Ctrl-Shift-E", "Command-Shift-E"),
 * "replace", bindKey: ("Ctrl-H", "Command-Option-F"),
 * "outdent", bindKey: ("Shift-Tab", "Shift-Tab"),
 * "blockoutdent", bindKey: ("Ctrl-[", "Ctrl-["),
 * "blockindent", bindKey: ("Ctrl-]", "Ctrl-]"),
 * "touppercase", bindKey: ("Ctrl-U", "Ctrl-U"),
 * "tolowercase", bindKey: ("Ctrl-Shift-U", "Ctrl-Shift-U")
 * "gotoline",    bindKey: bindKey("Ctrl-L", "Command-L")
 * "gotoline",    bindKey: bindKey("Ctrl-L", "Command-L")

Bug:


 * Clicking the notification link in the text area no longer shows a pop-up with the notifications (when debugging a lua module). It simply doesn't do anything.

To make matters worse, it removes the line containing the script error from the address bar url.