Mercurial
comparison .cms/lib/codemirror/mode/vb/index.html @ 0:78edf6b517a0 draft
24.10
author | Coffee CMS <info@coffee-cms.ru> |
---|---|
date | Fri, 11 Oct 2024 22:40:23 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:78edf6b517a0 |
---|---|
1 <!doctype html> | |
2 | |
3 <title>CodeMirror: VB.NET mode</title> | |
4 <meta charset="utf-8"/> | |
5 <link rel=stylesheet href="../../doc/docs.css"> | |
6 | |
7 <link rel="stylesheet" href="../../lib/codemirror.css"> | |
8 <link href="http://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet"> | |
9 <script src="../../lib/codemirror.js"></script> | |
10 <script src="vb.js"></script> | |
11 <script src="../../addon/runmode/runmode.js"></script> | |
12 <style> | |
13 .CodeMirror {border: 1px solid #aaa; height:210px; height: auto;} | |
14 .CodeMirror-scroll { overflow-x: auto; overflow-y: hidden;} | |
15 .CodeMirror pre { font-family: Inconsolata; font-size: 14px} | |
16 </style> | |
17 <div id=nav> | |
18 <a href="https://codemirror.net/5"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a> | |
19 | |
20 <ul> | |
21 <li><a href="../../index.html">Home</a> | |
22 <li><a href="../../doc/manual.html">Manual</a> | |
23 <li><a href="https://github.com/codemirror/codemirror5">Code</a> | |
24 </ul> | |
25 <ul> | |
26 <li><a href="../index.html">Language modes</a> | |
27 <li><a class=active href="#">VB.NET</a> | |
28 </ul> | |
29 </div> | |
30 | |
31 <article> | |
32 <h2>VB.NET mode</h2> | |
33 <div id="edit"> | |
34 <textarea name="code" id="code" > | |
35 Class rocket | |
36 Private quality as Double | |
37 Public Sub launch() as String | |
38 If quality > 0.8 | |
39 launch = "Successful" | |
40 Else | |
41 launch = "Failed" | |
42 End If | |
43 End sub | |
44 End class | |
45 </textarea> | |
46 </div> | |
47 <p>MIME type defined: <code>text/x-vb</code>.</p> | |
48 <script>CodeMirror.fromTextArea(document.getElementById("code"))</script> | |
49 </article> |