move a few things away in to-be-integrated/
[myslice.git] / to-be-integrated / third-party / codemirror-3.15 / mode / vbscript / index.html
1 <!doctype html>
2 <html>
3   <head>
4     <meta charset="utf-8">
5     <title>CodeMirror: VBScript mode</title>
6     <link rel="stylesheet" href="../../lib/codemirror.css">
7     <script src="../../lib/codemirror.js"></script>
8     <script src="vbscript.js"></script>
9     <link rel="stylesheet" href="../../doc/docs.css">
10     <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
11   </head>
12   <body>
13     <h1>CodeMirror: VBScript mode</h1>
14
15 <div><textarea id="code" name="code">
16 ' Pete Guhl
17 ' 03-04-2012
18 '
19 ' Basic VBScript support for codemirror2
20
21 Const ForReading = 1, ForWriting = 2, ForAppending = 8
22
23 Call Sub020_PostBroadcastToUrbanAirship(strUserName, strPassword, intTransmitID, strResponse)
24
25 If Not IsNull(strResponse) AND Len(strResponse) = 0 Then
26         boolTransmitOkYN = False
27 Else
28         ' WScript.Echo "Oh Happy Day! Oh Happy DAY!"
29         boolTransmitOkYN = True
30 End If
31 </textarea></div>
32
33     <script>
34       var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
35         lineNumbers: true,
36         indentUnit: 4
37       });
38     </script>
39
40     <p><strong>MIME types defined:</strong> <code>text/vbscript</code>.</p>
41   </body>
42 </html>
43