diff options
Diffstat (limited to 'media/CodeMirror-0.62/htmltest.html')
-rw-r--r-- | media/CodeMirror-0.62/htmltest.html | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/media/CodeMirror-0.62/htmltest.html b/media/CodeMirror-0.62/htmltest.html deleted file mode 100644 index a737522..0000000 --- a/media/CodeMirror-0.62/htmltest.html +++ /dev/null @@ -1,53 +0,0 @@ -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <script src="js/codemirror.js" type="text/javascript"></script> - <title>CodeMirror: HTML/XML demonstration</title> - <link rel="stylesheet" type="text/css" href="css/docs.css"/> - <style type="text/css"> - .CodeMirror-line-numbers { - width: 2.2em; - color: #aaa; - background-color: #eee; - text-align: right; - padding-right: .3em; - font-size: 10pt; - font-family: monospace; - padding-top: .4em; - } - </style> - </head> - <body style="padding: 20px;"> - -<p>This is a simple demonstration of the XML/HTML indentation module -for <a href="index.html">CodeMirror</a>. The <a -href="js/parsexml.js">javascript</a> file contains some comments with -more information.</p> - -<div style="border: 1px solid black; padding: 0px;"> -<textarea id="code" cols="120" rows="30"> -<html style="color: green"> - <!-- this is a comment --> - <head> - <title>HTML Example</title> - </head> - <body> - The indentation tries to be <em>somewhat &quot;do what - I mean&quot;</em>... but might not match your style. - </body> -</html> -</textarea> -</div> - -<script type="text/javascript"> - var editor = CodeMirror.fromTextArea('code', { - height: "350px", - parserfile: "parsexml.js", - stylesheet: "css/xmlcolors.css", - path: "js/", - continuousScanning: 500, - lineNumbers: true, - textWrapping: false - }); -</script> - </body> -</html> |