-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
executable file
·51 lines (41 loc) · 1.68 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html>
<head>
<title>OpenSCAD Code Editor - F5 To Render</title>
<script src="./cm/lib/codemirror.js"></script>
<link rel="stylesheet" href="./cm/lib/codemirror.css">
<link rel="stylesheet" href="./cm/theme/lesser-dark.css">
<script src="./cm/addon/edit/matchbrackets.js"></script>
<script src="./cm/addon/fold/collapserange.js"></script>
<script src="./cm/addon/search/searchcursor.js"></script>
<script src="./cm/addon/search/match-highlighter.js"></script>
<script src="./cm/addon/format/formatting.js"></script>
<script src="./cm/addon/hint/show-hint.js"></script>
<script src="./cm/addon/hint/javascript-hint.js"></script>
<link rel="stylesheet" href="./cm/addon/hint/show-hint.css">
<script src="./cm/mode/openscad/openscad.js"></script>
<script src="./cm/mode/javascript/javascript.js"></script>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="buttons">
<button id="new"> <img src="./img/16x16/file_add.png"/>New </button>
<button id="open"><img src="./img/16x16/file.png"/> Open </button>
<button id="save"><img src="./img/16x16/diskette.png"/>Save </button>
<button id="undo">Undo </button>
<button id="redo"> Redo </button>
<button id="seach"> Search </button>
<button id="autoformat">Autoformat </button>
<button id="comment"> Comment </button>
<button id="uncomment"> Uncomment </button>
</div>
<div id="editor"></div>
<div class="info">
<label>Filename: </label><span id="title"></span>
<label>Mode: </label><span id="mode"></span>
</div>
<input style="display:none;" id="openFile" type="file" />
<input style="display:none;" id="saveFile" type="file" nwsaveas />
<script src="./zepto.min.js"></script>
<script src="./editor.js"></script>
</body>
</html>