diff options
author | Eric Guzman | 2012-03-12 15:33:04 -0700 |
---|---|---|
committer | Eric Guzman | 2012-03-12 15:33:04 -0700 |
commit | 7e3161153b87b891875ac65368a19aed12909fa3 (patch) | |
tree | b80f48d711a9729fc39dbbdff28c4f0620e7302d /imports/codemirror/mode/properties/index.html | |
parent | 7a28932ba8a7517bbaaabe1f5edf678416aafc9c (diff) | |
parent | 69d90467865a1384725b2301901be2180c5a841f (diff) | |
download | ninja-7e3161153b87b891875ac65368a19aed12909fa3.tar.gz |
Merge branch 'refs/heads/master' into CSSPanelUpdates
Conflicts:
js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js
Diffstat (limited to 'imports/codemirror/mode/properties/index.html')
-rwxr-xr-x | imports/codemirror/mode/properties/index.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/imports/codemirror/mode/properties/index.html b/imports/codemirror/mode/properties/index.html new file mode 100755 index 00000000..3df6a3ae --- /dev/null +++ b/imports/codemirror/mode/properties/index.html | |||
@@ -0,0 +1,40 @@ | |||
1 | <!doctype html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>CodeMirror: Properties files mode</title> | ||
5 | <link rel="stylesheet" href="../../lib/codemirror.css"> | ||
6 | <script src="../../lib/codemirror.js"></script> | ||
7 | <script src="properties.js"></script> | ||
8 | <link rel="stylesheet" href="properties.css"> | ||
9 | <style>.CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}</style> | ||
10 | <link rel="stylesheet" href="../../doc/docs.css"> | ||
11 | </head> | ||
12 | <body> | ||
13 | <h1>CodeMirror: Properties files mode</h1> | ||
14 | <form><textarea id="code" name="code"> | ||
15 | # This is a properties file | ||
16 | a.key = A value | ||
17 | another.key = http://example.com | ||
18 | ! Exclamation mark as comment | ||
19 | but.not=Within ! A value # indeed | ||
20 | # Spaces at the beginning of a line | ||
21 | spaces.before.key=value | ||
22 | backslash=Used for multi\ | ||
23 | line entries,\ | ||
24 | that's convenient. | ||
25 | # Unicode sequences | ||
26 | unicode.key=This is \u0020 Unicode | ||
27 | no.multiline=here | ||
28 | # Colons | ||
29 | colons : can be used too | ||
30 | # Spaces | ||
31 | spaces\ in\ keys=Not very common... | ||
32 | </textarea></form> | ||
33 | <script> | ||
34 | var editor = CodeMirror.fromTextArea(document.getElementById("code"), {}); | ||
35 | </script> | ||
36 | |||
37 | <p><strong>MIME types defined:</strong> <code>text/x-properties</code>.</p> | ||
38 | |||
39 | </body> | ||
40 | </html> | ||