X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=third-party%2Fcodemirror-3.15%2Fdemo%2Fchangemode.html;fp=third-party%2Fcodemirror-3.15%2Fdemo%2Fchangemode.html;h=364c5cdb07b945f9abcbd382e2a80ef1b729bbb0;hb=75d3bceb8e1d168e83982f910a916aee3bab7981;hp=0000000000000000000000000000000000000000;hpb=302dd5bda1297ed6579ca26da35ee67f8d35d934;p=unfold.git diff --git a/third-party/codemirror-3.15/demo/changemode.html b/third-party/codemirror-3.15/demo/changemode.html new file mode 100644 index 00000000..364c5cdb --- /dev/null +++ b/third-party/codemirror-3.15/demo/changemode.html @@ -0,0 +1,50 @@ + + + + + CodeMirror: Mode-Changing Demo + + + + + + + + + +

CodeMirror: 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.

+ + + +