all repos — NoPaste @ 584b12475d17386562df16d9e2aebd2d66070652

Resurrected - The PussTheCat.org fork of NoPaste

scripts/CodeMirror/mode/spreadsheet/index.html (view raw)

 1<!doctype html>
 2
 3<title>CodeMirror: Spreadsheet 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<script src="../../lib/codemirror.js"></script>
 9<script src="../../addon/edit/matchbrackets.js"></script>
10<script src="spreadsheet.js"></script>
11<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
12<div id=nav>
13  <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a>
14
15  <ul>
16    <li><a href="../../index.html">Home</a>
17    <li><a href="../../doc/manual.html">Manual</a>
18    <li><a href="https://github.com/codemirror/codemirror">Code</a>
19  </ul>
20  <ul>
21    <li><a href="../index.html">Language modes</a>
22    <li><a class=active href="#">Spreadsheet</a>
23  </ul>
24</div>
25
26<article>
27  <h2>Spreadsheet mode</h2>
28  <form><textarea id="code" name="code">=IF(A1:B2, TRUE, FALSE) / 100</textarea></form>
29
30  <script>
31    var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
32      lineNumbers: true,
33      matchBrackets: true,
34      extraKeys: {"Tab":  "indentAuto"}
35    });
36  </script>
37
38  <p><strong>MIME types defined:</strong> <code>text/x-spreadsheet</code>.</p>
39  
40  <h3>The Spreadsheet Mode</h3>
41  <p> Created by <a href="https://github.com/robertleeplummerjr">Robert Plummer</a></p>
42</article>