X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=to-be-integrated%2Fthird-party%2Fcodemirror-3.15%2Fdemo%2Fchangemode.html;fp=to-be-integrated%2Fthird-party%2Fcodemirror-3.15%2Fdemo%2Fchangemode.html;h=364c5cdb07b945f9abcbd382e2a80ef1b729bbb0;hb=31540dd504798e0aca69e10d8144fbedc5b16af8;hp=0000000000000000000000000000000000000000;hpb=937653fd70bbf7d95bcf870e7f2b46b4a8fec486;p=myslice.git diff --git a/to-be-integrated/third-party/codemirror-3.15/demo/changemode.html b/to-be-integrated/third-party/codemirror-3.15/demo/changemode.html new file mode 100644 index 00000000..364c5cdb --- /dev/null +++ b/to-be-integrated/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.

+ + + +