Mode-Changing Demo

On changes to the content of the above editor, a (crude) script tries to auto-detect the language used, and switches the editor to either JavaScript or Scheme mode based on that.

Demonstration of using linked documents to provide a split view on a document, and using swapDoc to use a single editor to display multiple documents.