Skip to content
Snippets Groups Projects
Commit 1605b555 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

Demote formatting.js to non-supported module status

parent 8a2d4668
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,13 @@
<body>
<h1>CodeMirror: Formatting demo</h1>
<p><strong>Note:</strong> The formatting addon receives a fair
amount of bug requests. I (the maintainer of CodeMirror) do not
intend to spend time on improving it. Pull requests (if clean and
intelligent) are welcome, but you should see this code as a
proof-of-concept (using CodeMirror's mode tokenizers to help
format code), not a finished, robust module.</p>
<form><textarea id="code" name="code"><script> function (s,e){ for(var i=0; i < 1; i++) test("test();a=1");} </script>
<script>
function test(c){ for (var i = 0; i < 10; i++){ process("a.b();c = null;", 300);}
......
......@@ -1496,11 +1496,6 @@
gives the wrapper of the active line the class <code>CodeMirror-activeline</code>,
and adds a background with the class <code>CodeMirror-activeline-background</code>.
is enabled. See the <a href="../demo/activeline.html">demo</a>.</dd>
<dt id="addon_formatting"><a href="../addon/format/formatting.js"><code>formatting.js</code></a></dt>
<dd>Adds <code>commentRange</code>, <code>autoIndentRange</code>,
and <code>autoFormatRange</code> methods that, respectively,
comment (or uncomment), indent, or format (add line breaks) a
range of code. <a href="../demo/formatting.html">Demo here.</a></dd>
<dt id="addon_closetag"><a href="../addon/edit/closetag.js"><code>closetag.js</code></a></dt>
<dd>Provides utility functions for adding automatic tag closing
to XML modes. See
......
......@@ -109,7 +109,6 @@
<li><a href="demo/fullscreen.html">Full-screen editing</a></li>
<li><a href="demo/changemode.html">Mode auto-changing</a></li>
<li><a href="demo/visibletabs.html">Visible tabs</a></li>
<li><a href="demo/formatting.html">Autoformatting of code</a></li>
<li><a href="demo/emacs.html">Emacs keybindings</a></li>
<li><a href="demo/vim.html">Vim keybindings</a></li>
<li><a href="demo/closetag.html">Automatic xml tag closing</a></li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment