aboutsummaryrefslogtreecommitdiff
path: root/imports/codemirror/mode/ecl/index.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-06 16:17:54 -0800
committerValerio Virgillito2012-03-06 16:17:54 -0800
commitc2805e03c84b6e598556fd06d1ede7aaeea7ce9c (patch)
treeb033421762f5e0fedbc8700bfc1f175c7c5cabcf /imports/codemirror/mode/ecl/index.html
parent1cd89d4d06e3a8f2c221628b19cf26a2c69f5d3f (diff)
downloadninja-c2805e03c84b6e598556fd06d1ede7aaeea7ce9c.tar.gz
Squashed commit FileIO-Build-Candidate into Master
Fixing issues with HTML and CSS URLs. Adjusted RegEx logic. Also code a mirror update and undo/redo changes were merged into this request. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'imports/codemirror/mode/ecl/index.html')
-rw-r--r--imports/codemirror/mode/ecl/index.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/imports/codemirror/mode/ecl/index.html b/imports/codemirror/mode/ecl/index.html
new file mode 100644
index 00000000..d6b41f4e
--- /dev/null
+++ b/imports/codemirror/mode/ecl/index.html
@@ -0,0 +1,42 @@
1<!doctype html>
2<html>
3 <head>
4 <title>CodeMirror: ECL mode</title>
5 <link rel="stylesheet" href="../../lib/codemirror.css">
6 <script src="../../lib/codemirror.js"></script>
7 <script src="ecl.js"></script>
8 <link rel="stylesheet" href="../../doc/docs.css">
9 <style>.CodeMirror {border: 1px solid black;}</style>
10 </head>
11 <body>
12 <h1>CodeMirror: ECL mode</h1>
13 <form><textarea id="code" name="code">
14/*
15sample useless code to demonstrate ecl syntax highlighting
16this is a multiline comment!
17*/
18
19// this is a singleline comment!
20
21import ut;
22r :=
23 record
24 string22 s1 := '123';
25 integer4 i1 := 123;
26 end;
27#option('tmp', true);
28d := dataset('tmp::qb', r, thor);
29output(d);
30</textarea></form>
31 <script>
32 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
33 tabMode: "indent",
34 matchBrackets: true,
35 });
36 </script>
37
38 <p>Based on CodeMirror's clike mode. For more information see <a href="http://hpccsystems.com">HPCC Systems</a> web site.</p>
39 <p><strong>MIME types defined:</strong> <code>text/x-ecl</code>.</p>
40
41 </body>
42</html>