diff --git a/public/js/lib/codemirror/demo/activeline.html b/public/js/lib/codemirror/demo/activeline.html
deleted file mode 100644
index 741f6c45a4..0000000000
--- a/public/js/lib/codemirror/demo/activeline.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
CodeMirror: Active Line Demo
-
-
-
-
-
-
-
-
-
-
-
-Active Line Demo
-
-
-
-
- Styling the current cursor line.
-
-
diff --git a/public/js/lib/codemirror/demo/anywordhint.html b/public/js/lib/codemirror/demo/anywordhint.html
deleted file mode 100644
index 0a7caece24..0000000000
--- a/public/js/lib/codemirror/demo/anywordhint.html
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-CodeMirror: Any Word Completion Demo
-
-
-
-
-
-
-
-
-
-
-
-
-Any Word Completion Demo
-
-(function() {
- "use strict";
-
- var WORD = /[\w$]+/g, RANGE = 500;
-
- CodeMirror.registerHelper("hint", "anyword", function(editor, options) {
- var word = options && options.word || WORD;
- var range = options && options.range || RANGE;
- var cur = editor.getCursor(), curLine = editor.getLine(cur.line);
- var start = cur.ch, end = start;
- while (end < curLine.length && word.test(curLine.charAt(end))) ++end;
- while (start && word.test(curLine.charAt(start - 1))) --start;
- var curWord = start != end && curLine.slice(start, end);
-
- var list = [], seen = {};
- function scan(dir) {
- var line = cur.line, end = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir;
- for (; line != end; line += dir) {
- var text = editor.getLine(line), m;
- word.lastIndex = 0;
- while (m = word.exec(text)) {
- if ((!curWord || m[0].indexOf(curWord) == 0) && !seen.hasOwnProperty(m[0])) {
- seen[m[0]] = true;
- list.push(m[0]);
- }
- }
- }
- }
- scan(-1);
- scan(1);
- return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)};
- });
-})();
-
-
-Press ctrl-space to activate autocompletion. The
-completion uses
-the anyword-hint.js
-module, which simply looks at nearby words in the buffer and completes
-to those.
-
-
-
diff --git a/public/js/lib/codemirror/demo/bidi.html b/public/js/lib/codemirror/demo/bidi.html
deleted file mode 100644
index 6dd73bec3a..0000000000
--- a/public/js/lib/codemirror/demo/bidi.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-CodeMirror: Bi-directional Text Demo
-
-
-
-
-
-
-
-
-
-
-Bi-directional Text Demo
-
-
-
- value (string or Doc)
- قيمة البداية المحرر. يمكن أن تكون سلسلة، أو. كائن مستند.
- mode (string or object)
- وضع الاستخدام. عندما لا تعطى، وهذا الافتراضي إلى الطريقة الاولى
- التي تم تحميلها. قد يكون من سلسلة، والتي إما أسماء أو ببساطة هو وضع
- MIME نوع المرتبطة اسطة. بدلا من ذلك، قد يكون من كائن يحتوي على
- خيارات التكوين لواسطة، مع name
الخاصية التي وضع أسماء
- (على سبيل المثال {name: "javascript", json: true}
).
- صفحات التجريبي لكل وضع تحتوي على معلومات حول ما معلمات تكوين وضع
- يدعمها. يمكنك أن تطلب CodeMirror التي تم تعريفها طرق وأنواع MIME
- الكشف على CodeMirror.modes
- و CodeMirror.mimeModes
الكائنات. وضع خرائط الأسماء
- الأولى لمنشئات الخاصة بهم، وخرائط لأنواع MIME 2 المواصفات
- واسطة.
- theme (string)
- موضوع لنمط المحرر مع. يجب عليك التأكد من الملف CSS تحديد
- المقابلة .cm-s-[name]
يتم تحميل أنماط (انظر
- theme
الدليل في التوزيع).
- الافتراضي هو "default"
، والتي تم تضمينها في
- الألوان codemirror.css
. فمن الممكن استخدام فئات متعددة
- في تطبيق السمات مرة واحدة على سبيل المثال "foo bar"
- سيتم تعيين كل من cm-s-foo
و cm-s-bar
- الطبقات إلى المحرر.
-
-
-
-
-
- Demonstration of bi-directional text support. See
- the related
- blog post for more background.
-
- Note: There is
- a known
- bug with cursor motion and mouse clicks in bi-directional lines
- that are line wrapped.
-
-
diff --git a/public/js/lib/codemirror/demo/btree.html b/public/js/lib/codemirror/demo/btree.html
deleted file mode 100644
index fc4997f4f5..0000000000
--- a/public/js/lib/codemirror/demo/btree.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-CodeMirror: B-Tree visualization
-
-
-
-
-
-
-
-
-
-B-Tree visualization
-type here, see a summary of the document b-tree below
-
-
-
-
-
-
-Add a lot of content
-
-
diff --git a/public/js/lib/codemirror/demo/buffers.html b/public/js/lib/codemirror/demo/buffers.html
deleted file mode 100644
index 16ffc7dfe9..0000000000
--- a/public/js/lib/codemirror/demo/buffers.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-CodeMirror: Multiple Buffer & Split View Demo
-
-
-
-
-
-
-
-
-
-
-
-Multiple Buffer & Split View Demo
-
-
-
-
- Select buffer:
- New buffer
-
-
-
- Select buffer:
- New buffer
-
-
-
-
- Demonstration of
- using linked documents
- to provide a split view on a document, and
- using swapDoc
- to use a single editor to display multiple documents.
-
-
diff --git a/public/js/lib/codemirror/demo/changemode.html b/public/js/lib/codemirror/demo/changemode.html
deleted file mode 100644
index 9405932abe..0000000000
--- a/public/js/lib/codemirror/demo/changemode.html
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-CodeMirror: Mode-Changing Demo
-
-
-
-
-
-
-
-
-
-
-
-Mode-Changing Demo
-
-;; If there is Scheme code in here, the editor will be in Scheme mode.
-;; If you put in JS instead, it'll switch to JS mode.
-
-(define (double x)
- (* x x))
-
-
-On changes to the content of the above editor, a (crude) script
-tries to auto-detect the language used, and switches the editor to
-either JavaScript or Scheme mode based on that.
-
-
-
diff --git a/public/js/lib/codemirror/demo/closebrackets.html b/public/js/lib/codemirror/demo/closebrackets.html
deleted file mode 100644
index d702f52696..0000000000
--- a/public/js/lib/codemirror/demo/closebrackets.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-CodeMirror: Closebrackets Demo
-
-
-
-
-
-
-
-
-
-
-
-Closebrackets Demo
-function Grid(width, height) {
- this.width = width;
- this.height = height;
- this.cells = new Array(width * height);
-}
-Grid.prototype.valueAt = function(point) {
- return this.cells[point.y * this.width + point.x];
-};
-Grid.prototype.setValueAt = function(point, value) {
- this.cells[point.y * this.width + point.x] = value;
-};
-Grid.prototype.isInside = function(point) {
- return point.x >= 0 && point.y >= 0 &&
- point.x < this.width && point.y < this.height;
-};
-Grid.prototype.moveValue = function(from, to) {
- this.setValueAt(to, this.valueAt(from));
- this.setValueAt(from, undefined);
-};
-
-
-
diff --git a/public/js/lib/codemirror/demo/closetag.html b/public/js/lib/codemirror/demo/closetag.html
deleted file mode 100644
index 79959d2c4d..0000000000
--- a/public/js/lib/codemirror/demo/closetag.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-CodeMirror: Close-Tag Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Close-Tag Demo
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/complete.html b/public/js/lib/codemirror/demo/complete.html
deleted file mode 100644
index cdf49dbeb9..0000000000
--- a/public/js/lib/codemirror/demo/complete.html
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-CodeMirror: Autocomplete Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-Autocomplete Demo
-
-function getCompletions(token, context) {
- var found = [], start = token.string;
- function maybeAdd(str) {
- if (str.indexOf(start) == 0) found.push(str);
- }
- function gatherCompletions(obj) {
- if (typeof obj == "string") forEach(stringProps, maybeAdd);
- else if (obj instanceof Array) forEach(arrayProps, maybeAdd);
- else if (obj instanceof Function) forEach(funcProps, maybeAdd);
- for (var name in obj) maybeAdd(name);
- }
-
- if (context) {
- // If this is a property, see if it belongs to some object we can
- // find in the current environment.
- var obj = context.pop(), base;
- if (obj.className == "js-variable")
- base = window[obj.string];
- else if (obj.className == "js-string")
- base = "";
- else if (obj.className == "js-atom")
- base = 1;
- while (base != null && context.length)
- base = base[context.pop().string];
- if (base != null) gatherCompletions(base);
- }
- else {
- // If not, just look in the window object and any local scope
- // (reading into JS mode internals to get at the local variables)
- for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);
- gatherCompletions(window);
- forEach(keywords, maybeAdd);
- }
- return found;
-}
-
-
-Press ctrl-space to activate autocompletion. Built
-on top of the show-hint
-and javascript-hint
-addons.
-
-
-
diff --git a/public/js/lib/codemirror/demo/emacs.html b/public/js/lib/codemirror/demo/emacs.html
deleted file mode 100644
index c626b8d408..0000000000
--- a/public/js/lib/codemirror/demo/emacs.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-CodeMirror: Emacs bindings demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Emacs bindings demo
-
-#include "syscalls.h"
-/* getchar: simple buffered version */
-int getchar(void)
-{
- static char buf[BUFSIZ];
- static char *bufp = buf;
- static int n = 0;
- if (n == 0) { /* buffer is empty */
- n = read(0, buf, sizeof buf);
- bufp = buf;
- }
- return (--n >= 0) ? (unsigned char) *bufp++ : EOF;
-}
-
-
-The emacs keybindings are enabled by
-including keymap/emacs.js and setting
-the keyMap
option to "emacs"
. Because
-CodeMirror's internal API is quite different from Emacs, they are only
-a loose approximation of actual emacs bindings, though.
-
-Also note that a lot of browsers disallow certain keys from being
-captured. For example, Chrome blocks both Ctrl-W and Ctrl-N, with the
-result that idiomatic use of Emacs keys will constantly close your tab
-or open a new window.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/folding.html b/public/js/lib/codemirror/demo/folding.html
deleted file mode 100644
index 81cbf9894b..0000000000
--- a/public/js/lib/codemirror/demo/folding.html
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
- CodeMirror: Code Folding Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Code Folding Demo
-
- JavaScript:
-
- HTML:
-
- Markdown:
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/fullscreen.html b/public/js/lib/codemirror/demo/fullscreen.html
deleted file mode 100644
index 1fbdc488e1..0000000000
--- a/public/js/lib/codemirror/demo/fullscreen.html
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-CodeMirror: Full Screen Editing
-
-
-
-
-
-
-
-
-
-
-
-
-
-Full Screen Editing
-
-
- indentWithTabs : boolean
- Whether, when indenting, the first N*tabSize
- spaces should be replaced by N tabs. Default is false.
-
- electricChars : boolean
- Configures whether the editor should re-indent the current
- line when a character is typed that might change its proper
- indentation (only works if the mode supports indentation).
- Default is true.
-
- specialChars : RegExp
- A regular expression used to determine which characters
- should be replaced by a
- special placeholder .
- Mostly useful for non-printing special characters. The default
- is /[\u0000-\u0019\u00ad\u200b\u2028\u2029\ufeff]/
.
- specialCharPlaceholder : function(char) → Element
- A function that, given a special character identified by
- the specialChars
- option, produces a DOM node that is used to represent the
- character. By default, a red dot (• )
- is shown, with a title tooltip to indicate the character code.
-
- rtlMoveVisually : boolean
- Determines whether horizontal cursor movement through
- right-to-left (Arabic, Hebrew) text is visual (pressing the left
- arrow moves the cursor left) or logical (pressing the left arrow
- moves to the next lower index in the string, which is visually
- right in right-to-left text). The default is false
- on Windows, and true
on other platforms.
-
-
-
-
- Demonstration of
- the fullscreen
- addon. Press F11 when cursor is in the editor to
- toggle full screen editing. Esc can also be used
- to exit full screen editing.
-
diff --git a/public/js/lib/codemirror/demo/hardwrap.html b/public/js/lib/codemirror/demo/hardwrap.html
deleted file mode 100644
index f1a870b41c..0000000000
--- a/public/js/lib/codemirror/demo/hardwrap.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-CodeMirror: Hard-wrapping Demo
-
-
-
-
-
-
-
-
-
-
-
-Hard-wrapping Demo
-Lorem ipsum dolor sit amet, vim augue dictas constituto ex,
-sit falli simul viderer te. Graeco scaevola maluisset sit
-ut, in idque viris praesent sea. Ea sea eirmod indoctum
-repudiare. Vel noluisse suscipit pericula ut. In ius nulla
-alienum molestie. Mei essent discere democritum id.
-
-Equidem ponderum expetendis ius in, mea an erroribus
-constituto, congue timeam perfecto ad est. Ius ut primis
-timeam, per in ullum mediocrem. An case vero labitur pri,
-vel dicit laoreet et. An qui prompta conclusionemque, eam
-timeam sapientem in, cum dictas epicurei eu.
-
-Usu cu vide dictas deseruisse, eum choro graece adipiscing
-ut. Cibo qualisque ius ad, et dicat scripta mea, eam nihil
-mentitum aliquando cu. Debet aperiam splendide at quo, ad
-paulo nostro commodo duo. Sea adhuc utinam conclusionemque
-id, quas doming malorum nec ad. Tollit eruditi vivendum ad
-ius, eos soleat ignota ad.
-
-
-Demonstration of
-the hardwrap addon.
-The above editor has its change event hooked up to
-the wrapParagraphsInRange
method, so that the paragraphs
-are reflown as you are typing.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/html5complete.html b/public/js/lib/codemirror/demo/html5complete.html
deleted file mode 100644
index 411baae3ed..0000000000
--- a/public/js/lib/codemirror/demo/html5complete.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
- CodeMirror: HTML completion demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- HTML completion demo
-
- Shows the XML completer
- parameterized with information about the tags in HTML.
- Press ctrl-space to activate completion.
-
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/indentwrap.html b/public/js/lib/codemirror/demo/indentwrap.html
deleted file mode 100644
index 3d3d0af6ab..0000000000
--- a/public/js/lib/codemirror/demo/indentwrap.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-CodeMirror: Indented wrapped line demo
-
-
-
-
-
-
-
-
-
-
-Indented wrapped line demo
-
-
-
- Overview
-
- CodeMirror is a code-editor component that can be embedded in Web pages. The core library provides only the editor component, no accompanying buttons, auto-completion, or other IDE functionality. It does provide a rich API on top of which such functionality can be straightforwardly implemented. See the add-ons included in the distribution, and the CodeMirror UI project, for reusable implementations of extra features.
-
- CodeMirror works with language-specific modes. Modes are JavaScript programs that help color (and optionally indent) text written in a given language. The distribution comes with a number of modes (see the mode/
directory), and it isn't hard to write new ones for other languages.
-
-
-
- This page uses a hack on top of the "renderLine"
- event to make wrapped text line up with the base indentation of
- the line.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/lint.html b/public/js/lib/codemirror/demo/lint.html
deleted file mode 100644
index 29936a8d96..0000000000
--- a/public/js/lib/codemirror/demo/lint.html
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-CodeMirror: Linter Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Linter Demo
-
-
- var widgets = []
-function updateHints() {
- editor.operation(function(){
- for (var i = 0; i < widgets.length; ++i)
- editor.removeLineWidget(widgets[i]);
- widgets.length = 0;
-
- JSHINT(editor.getValue());
- for (var i = 0; i < JSHINT.errors.length; ++i) {
- var err = JSHINT.errors[i];
- if (!err) continue;
- var msg = document.createElement("div");
- var icon = msg.appendChild(document.createElement("span"));
- icon.innerHTML = "!!";
- icon.className = "lint-error-icon";
- msg.appendChild(document.createTextNode(err.reason));
- msg.className = "lint-error";
- widgets.push(editor.addLineWidget(err.line - 1, msg, {coverGutter: false, noHScroll: true}));
- }
- });
- var info = editor.getScrollInfo();
- var after = editor.charCoords({line: editor.getCursor().line + 1, ch: 0}, "local").top;
- if (info.top + info.clientHeight < after)
- editor.scrollTo(null, after - info.clientHeight + 3);
-}
-
-
- [
- {
- _id: "post 1",
- "author": "Bob",
- "content": "...",
- "page_views": 5
- },
- {
- "_id": "post 2",
- "author": "Bob",
- "content": "...",
- "page_views": 9
- },
- {
- "_id": "post 3",
- "author": "Bob",
- "content": "...",
- "page_views": 8
- }
-]
-
-
- @charset "UTF-8";
-
-@import url("booya.css") print, screen;
-@import "whatup.css" screen;
-@import "wicked.css";
-
-/*Error*/
-@charset "UTF-8";
-
-
-@namespace "http://www.w3.org/1999/xhtml";
-@namespace svg "http://www.w3.org/2000/svg";
-
-/*Warning: empty ruleset */
-.foo {
-}
-
-h1 {
- font-weight: bold;
-}
-
-/*Warning: qualified heading */
-.foo h1 {
- font-weight: bold;
-}
-
-/*Warning: adjoining classes */
-.foo.bar {
- zoom: 1;
-}
-
-li.inline {
- width: 100%; /*Warning: 100% can be problematic*/
-}
-
-li.last {
- display: inline;
- padding-left: 3px !important;
- padding-right: 3px;
- border-right: 0px;
-}
-
-@media print {
- li.inline {
- color: black;
- }
-}
-
-@page {
- margin: 10%;
- counter-increment: page;
-
- @top-center {
- font-family: sans-serif;
- font-weight: bold;
- font-size: 2em;
- content: counter(page);
- }
-}
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/loadmode.html b/public/js/lib/codemirror/demo/loadmode.html
deleted file mode 100644
index 809cd90225..0000000000
--- a/public/js/lib/codemirror/demo/loadmode.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-CodeMirror: Lazy Mode Loading Demo
-
-
-
-
-
-
-
-
-
-
-
-Lazy Mode Loading Demo
-Current mode: text/plain
-This is the editor.
-// It starts out in plain text mode,
-# use the control below to load and apply a mode
- "you'll see the highlighting of" this text /*change*/.
-
-Filename, mime, or mode name: change mode
-
-
-
diff --git a/public/js/lib/codemirror/demo/marker.html b/public/js/lib/codemirror/demo/marker.html
deleted file mode 100644
index 3a8b850009..0000000000
--- a/public/js/lib/codemirror/demo/marker.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-CodeMirror: Breakpoint Demo
-
-
-
-
-
-
-
-
-
-
-Breakpoint Demo
-
-var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
- lineNumbers: true,
- gutters: ["CodeMirror-linenumbers", "breakpoints"]
-});
-editor.on("gutterClick", function(cm, n) {
- var info = cm.lineInfo(n);
- cm.setGutterMarker(n, "breakpoints", info.gutterMarkers ? null : makeMarker());
-});
-
-function makeMarker() {
- var marker = document.createElement("div");
- marker.style.color = "#822";
- marker.innerHTML = "●";
- return marker;
-}
-
-
-Click the line-number gutter to add or remove 'breakpoints'.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/markselection.html b/public/js/lib/codemirror/demo/markselection.html
deleted file mode 100644
index d4c8a7a0d1..0000000000
--- a/public/js/lib/codemirror/demo/markselection.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-CodeMirror: Selection Marking Demo
-
-
-
-
-
-
-
-
-
-
-
-Selection Marking Demo
-
-Select something from here. You'll see that the selection's foreground
-color changes to white! Since, by default, CodeMirror only puts an
-independent "marker" layer behind the text, you'll need something like
-this to change its colour.
-
-Also notice that turning this addon on (with the default style) allows
-you to safely give text a background color without screwing up the
-visibility of the selection.
-
-
-
- Simple addon to easily mark (and style) selected text. Docs .
-
-
diff --git a/public/js/lib/codemirror/demo/matchhighlighter.html b/public/js/lib/codemirror/demo/matchhighlighter.html
deleted file mode 100644
index c60109009e..0000000000
--- a/public/js/lib/codemirror/demo/matchhighlighter.html
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-CodeMirror: Match Highlighter Demo
-
-
-
-
-
-
-
-
-
-
-
-Match Highlighter Demo
-Select this text: hardToSpotVar
- And everywhere else in your code where hardToSpotVar appears will automatically illuminate.
-Give it a try! No more hardToSpotVars.
-
-
-
- Search and highlight occurences of the selected text.
-
-
diff --git a/public/js/lib/codemirror/demo/matchtags.html b/public/js/lib/codemirror/demo/matchtags.html
deleted file mode 100644
index 175639a396..0000000000
--- a/public/js/lib/codemirror/demo/matchtags.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-CodeMirror: Tag Matcher Demo
-
-
-
-
-
-
-
-
-
-
-
-
-Tag Matcher Demo
-
-
-
-
-
-
- Put the cursor on or inside a pair of tags to highlight them.
- Press Ctrl-J to jump to the tag that matches the one under the
- cursor.
-
diff --git a/public/js/lib/codemirror/demo/merge.html b/public/js/lib/codemirror/demo/merge.html
deleted file mode 100644
index dad1952757..0000000000
--- a/public/js/lib/codemirror/demo/merge.html
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-CodeMirror: merge view demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-merge view demo
-
-
-
-
-The merge
-addon provides an interface for displaying and merging diffs,
-either two-way
-or three-way .
-The left (or center) pane is editable, and the differences with the
-other pane(s) are optionally shown live as you edit
-it. In the two-way configuration, there are also options to pad changed
-sections to align them, and to collapse unchanged
-stretches of text.
-
-This addon depends on
-the google-diff-match-patch
-library to compute the diffs.
-
-
-
diff --git a/public/js/lib/codemirror/demo/multiplex.html b/public/js/lib/codemirror/demo/multiplex.html
deleted file mode 100644
index ca8c80aedc..0000000000
--- a/public/js/lib/codemirror/demo/multiplex.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-CodeMirror: Multiplexing Parser Demo
-
-
-
-
-
-
-
-
-
-
-
-Multiplexing Parser Demo
-
-
-
- << this is not >
- <<
- multiline
- not html
- at all : &
- >>
- this is html again
-
-
-
-
-
-
- Demonstration of a multiplexing mode, which, at certain
- boundary strings, switches to one or more inner modes. The out
- (HTML) mode does not get fed the content of the <<
- >>
blocks. See
- the manual and
- the source for more
- information.
-
-
- Parsing/Highlighting Tests:
- normal ,
- verbose .
-
-
-
diff --git a/public/js/lib/codemirror/demo/mustache.html b/public/js/lib/codemirror/demo/mustache.html
deleted file mode 100644
index ae4e6a891b..0000000000
--- a/public/js/lib/codemirror/demo/mustache.html
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-CodeMirror: Overlay Parser Demo
-
-
-
-
-
-
-
-
-
-
-
-Overlay Parser Demo
-
-
-
- {{title}}
- These are links to {{things}}:
-
-
-
-
-
-
-
- Demonstration of a mode that parses HTML, highlighting
- the Mustache templating
- directives inside of it by using the code
- in overlay.js
. View
- source to see the 15 lines of code needed to accomplish this.
-
-
diff --git a/public/js/lib/codemirror/demo/panel.html b/public/js/lib/codemirror/demo/panel.html
deleted file mode 100644
index 7f4bbefca6..0000000000
--- a/public/js/lib/codemirror/demo/panel.html
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-CodeMirror: Panel Demo
-
-
-
-
-
-
-
-
-
-
-
-
-Panel Demo
-
-
-
-
-The panel
-addon allows you to display panels above or below an editor. Click the
-links in the previous paragraph to add panels to the editor.
-
-
diff --git a/public/js/lib/codemirror/demo/placeholder.html b/public/js/lib/codemirror/demo/placeholder.html
deleted file mode 100644
index 432331a486..0000000000
--- a/public/js/lib/codemirror/demo/placeholder.html
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-CodeMirror: Placeholder demo
-
-
-
-
-
-
-
-
-
-
-Placeholder demo
-
-
- The placeholder
- plug-in adds an option placeholder
that can be set to
- make text appear in the editor when it is empty and not focused.
- If the source textarea has a placeholder
attribute,
- it will automatically be inherited.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/preview.html b/public/js/lib/codemirror/demo/preview.html
deleted file mode 100644
index 19e1530b80..0000000000
--- a/public/js/lib/codemirror/demo/preview.html
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-CodeMirror: HTML5 preview
-
-
-
-
-
-
-
-
-
-
-
-
-
-HTML5 preview
-
-
-
-
-
-
- HTML5 canvas demo
-
-
-
- Canvas pane goes here:
-
-
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/requirejs.html b/public/js/lib/codemirror/demo/requirejs.html
deleted file mode 100644
index f99b77945a..0000000000
--- a/public/js/lib/codemirror/demo/requirejs.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
- CodeMirror: HTML completion demo
-
-
-
-
-
-
-
-
-
-
-
-
-
- RequireJS module loading demo
-
- This demo does the same thing as
- the HTML5 completion demo , but
- loads its dependencies
- with Require.js , rather than
- explicitly. Press ctrl-space to activate
- completion.
-
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/resize.html b/public/js/lib/codemirror/demo/resize.html
deleted file mode 100644
index 1c1ef390ab..0000000000
--- a/public/js/lib/codemirror/demo/resize.html
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-CodeMirror: Autoresize Demo
-
-
-
-
-
-
-
-
-
-
-Autoresize Demo
-
-.CodeMirror {
- border: 1px solid #eee;
- height: auto;
-}
-
-
-By setting an editor's height
style
-to auto
and giving
-the viewportMargin
-a value of Infinity
, CodeMirror can be made to
-automatically resize to fit its content.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/rulers.html b/public/js/lib/codemirror/demo/rulers.html
deleted file mode 100644
index 2ac4111582..0000000000
--- a/public/js/lib/codemirror/demo/rulers.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-CodeMirror: Ruler Demo
-
-
-
-
-
-
-
-
-
-
-Ruler Demo
-
-
-
-Demonstration of
-the rulers addon, which
-displays vertical lines at given column offsets.
-
-
diff --git a/public/js/lib/codemirror/demo/runmode.html b/public/js/lib/codemirror/demo/runmode.html
deleted file mode 100644
index 257f03d6b6..0000000000
--- a/public/js/lib/codemirror/demo/runmode.html
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-CodeMirror: Mode Runner Demo
-
-
-
-
-
-
-
-
-
-
-Mode Runner Demo
-
-
-
-
- Enter your xml here and press the button below to display
- it as highlighted by the CodeMirror XML mode
-
-
- Highlight!
-
-
-
-
- Running a CodeMirror mode outside of the editor.
- The CodeMirror.runMode
function, defined
- in lib/runmode.js
takes the following arguments:
-
-
- text (string)
- The document to run through the highlighter.
- mode (mode spec )
- The mode to use (must be loaded as normal).
- output (function or DOM node)
- If this is a function, it will be called for each token with
- two arguments, the token's text and the token's style class (may
- be null
for unstyled tokens). If it is a DOM node,
- the tokens will be converted to span
elements as in
- an editor, and inserted into the node
- (through innerHTML
).
-
-
-
diff --git a/public/js/lib/codemirror/demo/search.html b/public/js/lib/codemirror/demo/search.html
deleted file mode 100644
index 04ba7ac09a..0000000000
--- a/public/js/lib/codemirror/demo/search.html
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-CodeMirror: Search/Replace Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Search/Replace Demo
-
-
- indentWithTabs : boolean
- Whether, when indenting, the first N*tabSize
- spaces should be replaced by N tabs. Default is false.
-
- electricChars : boolean
- Configures whether the editor should re-indent the current
- line when a character is typed that might change its proper
- indentation (only works if the mode supports indentation).
- Default is true.
-
- specialChars : RegExp
- A regular expression used to determine which characters
- should be replaced by a
- special placeholder .
- Mostly useful for non-printing special characters. The default
- is /[\u0000-\u0019\u00ad\u200b\u2028\u2029\ufeff]/
.
- specialCharPlaceholder : function(char) → Element
- A function that, given a special character identified by
- the specialChars
- option, produces a DOM node that is used to represent the
- character. By default, a red dot (• )
- is shown, with a title tooltip to indicate the character code.
-
- rtlMoveVisually : boolean
- Determines whether horizontal cursor movement through
- right-to-left (Arabic, Hebrew) text is visual (pressing the left
- arrow moves the cursor left) or logical (pressing the left arrow
- moves to the next lower index in the string, which is visually
- right in right-to-left text). The default is false
- on Windows, and true
on other platforms.
-
-
-
-
-
- Demonstration of primitive search/replace functionality. The
- keybindings (which can be overridden by custom keymaps) are:
-
- Ctrl-F / Cmd-F Start searching
- Ctrl-G / Cmd-G Find next
- Shift-Ctrl-G / Shift-Cmd-G Find previous
- Shift-Ctrl-F / Cmd-Option-F Replace
- Shift-Ctrl-R / Shift-Cmd-Option-F Replace all
-
- Searching is enabled by
- including addon/search/search.js
- and addon/search/searchcursor.js .
- For good-looking input dialogs, you also want to include
- addon/dialog/dialog.js
- and addon/dialog/dialog.css .
-
diff --git a/public/js/lib/codemirror/demo/simplemode.html b/public/js/lib/codemirror/demo/simplemode.html
deleted file mode 100644
index ad8baf0b50..0000000000
--- a/public/js/lib/codemirror/demo/simplemode.html
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-CodeMirror: Simple Mode Demo
-
-
-
-
-
-
-
-
-
-
-
-
-Simple Mode Demo
-
-The mode/simple
-addon allows CodeMirror modes to be specified using a relatively simple
-declarative format. This format is not as powerful as writing code
-directly against the mode
-interface , but is a lot easier to get started with, and
-sufficiently expressive for many simple language modes.
-
-This interface is still in flux. It is unlikely to be scrapped or
-overhauled completely, so do start writing code against it, but
-details might change as it stabilizes, and you might have to tweak
-your code when upgrading.
-
-Simple modes (loosely based on
-the Common
-JavaScript Syntax Highlighting Specification , which never took
-off), are state machines, where each state has a number of rules that
-match tokens. A rule describes a type of token that may occur in the
-current state, and possibly a transition to another state caused by
-that token.
-
-The CodeMirror.defineSimpleMode(name, states)
method
-takes a mode name and an object that describes the mode's states. The
-editor below shows an example of such a mode (and is itself
-highlighted by the mode shown in it).
-
-
-
-Each state is an array of rules. A rule may have the following properties:
-
-
- regex : string | RegExp
- The regular expression that matches the token. May be a string
- or a regex object. When a regex, the ignoreCase
flag
- will be taken into account when matching the token. This regex
- should only capture groups when the token
property is
- an array.
- token
: string | null
- An optional token style. Multiple styles can be specified by
- separating them with dots or spaces. When the regex
for
- this rule captures groups, it must capture all of the
- string (since JS provides no way to find out where a group matched),
- and this property must hold an array of token styles that has one
- style for each matched group.
- next : string
- When a next
property is present, the mode will
- transfer to the state named by the property when the token is
- encountered.
- push : string
- Like next
, but instead replacing the current state
- by the new state, the current state is kept on a stack, and can be
- returned to with the pop
directive.
- pop : bool
- When true, and there is another state on the state stack, will
- cause the mode to pop that state off the stack and transition to
- it.
- mode : {spec, end, persistent}
- Can be used to embed another mode inside a mode. When present,
- must hold an object with a spec
property that describes
- the embedded mode, and an optional end
end property
- that specifies the regexp that will end the extent of the mode. When
- a persistent
property is set (and true), the nested
- mode's state will be preserved between occurrences of the mode.
- indent : bool
- When true, this token changes the indentation to be one unit
- more than the current line's indentation.
- dedent : bool
- When true, this token will pop one scope off the indentation
- stack.
- dedentIfLineStart : bool
- If a token has its dedent
property set, it will, by
- default, cause lines where it appears at the start to be dedented.
- Set this property to false to prevent that behavior.
-
-
-The meta
property of the states object is special, and
-will not be interpreted as a state. Instead, properties set on it will
-be set on the mode, which is useful for properties
-like lineComment
,
-which sets the comment style for a mode. The simple mode addon also
-recognizes a few such properties:
-
-
- dontIndentStates : array<string>
- An array of states in which the mode's auto-indentation should
- not take effect. Usually used for multi-line comment and string
- states.
-
-
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/simplescrollbars.html b/public/js/lib/codemirror/demo/simplescrollbars.html
deleted file mode 100644
index 9d40932649..0000000000
--- a/public/js/lib/codemirror/demo/simplescrollbars.html
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-CodeMirror: Simple Scrollbar Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-Simple Scrollbar Demo
-# Custom Scrollbars
-
-This is a piece of text that creates scrollbars
-
-Lorem ipsum dolor sit amet, turpis nec facilisis neque vestibulum adipiscing, magna nunc est luctus orci a,
-aliquam duis ad volutpat nostra. Vestibulum ultricies suspendisse commodo volutpat pede sed. Bibendum odio
-dignissim, ad vitae mollis ac sed nibh quis, suspendisse diam, risus quas blandit phasellus luctus nec,
-integer nunc vitae posuere scelerisque. Lobortis quam porta conubia nulla. Et nisl ac, imperdiet vitae ac.
-Parturient sit. Et vestibulum euismod, rutrum nunc libero mauris purus convallis. Cum id adipiscing et eget
-pretium rutrum, ultrices sapien magnis fringilla sit lorem, eu vitae scelerisque ipsum aliquet, magna sed
-fusce vel.
-
-Lectus ultricies libero dolor convallis, sed etiam vel hendrerit egestas viverra, at urna mauris, eget
-vulputate dolor voluptatem, nulla eget sollicitudin. Sed tincidunt, elit sociis. Mattis mi tortor dui id
-sodales mi, maecenas nam fringilla risus turpis mauris praesent, imperdiet maecenas ultrices nonummy tellus
-quis est. Scelerisque nec pharetra quis varius fringilla. Varius vestibulum non dictum pharetra, tincidunt in
-vestibulum iaculis molestie, id condimentum blandit elit urna magna pulvinar, quam suspendisse pellentesque
-donec. Vel amet ad ac. Nec aut viverra, morbi mi neque massa, turpis enim proin. Tellus eu, fermentum velit
-est convallis aliquam velit, rutrum in diam lacus, praesent tempor pellentesque dictum semper augue. Felis
-explicabo massa amet lectus phasellus dolor. Ut lorem quis arcu neque felis ultricies, senectus vitae
-curabitur sed pellentesque et, id sed risus in sed ac accumsan, blandit arcu quam duis nunc.
-
-Sed leo sollicitudin odio vitae, purus sit egestas, justo eros inceptos auctor fermentum lectus. Ligula luctus
-turpis, quod massa vitae elementum orci, nullam fringilla elit tortor. Justo ante tempor amet quam posuere
-volutpat. Facilisis pede erat ut hac ultrices ipsum, wisi duis sit metus. Dolor vitae est sed sed vitae. Sed
-eu ligula, morbi vestibulum nunc nibh velit ut taciti, ligula elit semper sagittis in, auctor arcu vel eget.
-Mauris at vitae nec suspendisse et, aenean proin blandit suscipit. Morbi quam, dolor ultricies. Viverra
-tempus. Suspendisse sit dapibus, ac fuga aenean, magna nisl nonummy augue posuere, dictum ut fuga velit
-parturient augue interdum, mattis sit tellus.
-
-Vehicula commodo tempus curabitur eros, lacinia erat vulputate lorem vel fermentum donec, lectus sed conubia
-id pellentesque. Vel senectus donec pede aliquet dolor sit, nec vivamus justo placerat interdum maecenas,
-sodales euismod. Quis netus sapien amet, vestibulum quam nec amet lacinia, quis aliquet, tempor vivamus tellus
-enim, suscipit quis eleifend. Amet class phasellus orci pretium, risus in nulla. Neque sit ullamcorper,
-ultricies platea id nec suspendisse ac. Et elementum. Dictum nam, ut dui fermentum egestas facilisis elit
-augue, adipiscing donec ipsum erat nam pellentesque convallis, vestibulum vestibulum risus id nulla ut mauris,
-curabitur aute aptent. Ultrices orci wisi dui ipsum praesent, pharetra felis eu quis. Est fringilla etiam,
-maxime sem dapibus et eget, mi enim dignissim nec pretium, augue vehicula, volutpat proin. Et occaecati
-lobortis viverra, cum in sed, vivamus tellus. Libero at malesuada est vivamus leo tortor.
-
-
-The simplescrollbars
addon defines two
-styles of non-native scrollbars: "simple"
and "overlay"
(click to try), which can be passed to
-the scrollbarStyle
option. These implement
-the scrollbar using DOM elements, allowing more control over
-its appearance .
-
-
-
diff --git a/public/js/lib/codemirror/demo/spanaffectswrapping_shim.html b/public/js/lib/codemirror/demo/spanaffectswrapping_shim.html
deleted file mode 100644
index 879d99b606..0000000000
--- a/public/js/lib/codemirror/demo/spanaffectswrapping_shim.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-CodeMirror: Automatically derive odd wrapping behavior for your browser
-
-
-
-
-
-
-Automatically derive odd wrapping behavior for your browser
-
-
- This is a hack to automatically derive
- a spanAffectsWrapping
regexp for a browser. See the
- comments above that variable
- in lib/codemirror.js
- for some more details.
-
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/sublime.html b/public/js/lib/codemirror/demo/sublime.html
deleted file mode 100644
index b3b5342c97..0000000000
--- a/public/js/lib/codemirror/demo/sublime.html
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-CodeMirror: Sublime Text bindings demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Sublime Text bindings demo
-
-The sublime
keymap defines many Sublime Text-specific
-bindings for CodeMirror. See the code below for an overview.
-
-Enable the keymap by
-loading keymap/sublime.js
-and setting
-the keyMap
-option to "sublime"
.
-
-(A lot of the search functionality is still missing.)
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/tern.html b/public/js/lib/codemirror/demo/tern.html
deleted file mode 100644
index 19135faf7f..0000000000
--- a/public/js/lib/codemirror/demo/tern.html
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-CodeMirror: Tern Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Tern Demo
-// Use ctrl-space to complete something
-// Put the cursor in or after an expression, press ctrl-o to
-// find its type
-
-var foo = ["array", "of", "strings"];
-var bar = foo.slice(0, 2).join("").split("a")[0];
-
-// Works for locally defined types too.
-
-function CTor() { this.size = 10; }
-CTor.prototype.hallo = "hallo";
-
-var baz = new CTor;
-baz.
-
-// You can press ctrl-q when the cursor is on a variable name to
-// rename it. Try it with CTor...
-
-// When the cursor is in an argument list, the arguments are
-// shown below the editor.
-
-[1].reduce( );
-
-// And a little more advanced code...
-
-(function(exports) {
- exports.randomElt = function(arr) {
- return arr[Math.floor(arr.length * Math.random())];
- };
- exports.strList = "foo".split("");
- exports.intList = exports.strList.map(function(s) { return s.charCodeAt(0); });
-})(window.myMod = {});
-
-var randomStr = myMod.randomElt(myMod.strList);
-var randomInt = myMod.randomElt(myMod.intList);
-
-
-Demonstrates integration of Tern
-and CodeMirror. The following keys are bound:
-
-
- Ctrl-Space Autocomplete
- Ctrl-O Find docs for the expression at the cursor
- Ctrl-I Find type at cursor
- Alt-. Jump to definition (Alt-, to jump back)
- Ctrl-Q Rename variable
- Ctrl-. Select all occurrences of a variable
-
-
-Documentation is sparse for now. See the top of
-the script for a rough API
-overview.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/theme.html b/public/js/lib/codemirror/demo/theme.html
deleted file mode 100644
index e951c84c36..0000000000
--- a/public/js/lib/codemirror/demo/theme.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-CodeMirror: Theme Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Theme Demo
-
-function findSequence(goal) {
- function find(start, history) {
- if (start == goal)
- return history;
- else if (start > goal)
- return null;
- else
- return find(start + 5, "(" + history + " + 5)") ||
- find(start * 3, "(" + history + " * 3)");
- }
- return find(1, "1");
-}
-
-Select a theme:
- default
- 3024-day
- 3024-night
- ambiance
- base16-dark
- base16-light
- blackboard
- cobalt
- eclipse
- elegant
- erlang-dark
- lesser-dark
- mbo
- mdn-like
- midnight
- monokai
- neat
- neo
- night
- paraiso-dark
- paraiso-light
- pastel-on-dark
- rubyblue
- solarized dark
- solarized light
- the-matrix
- tomorrow-night-bright
- tomorrow-night-eighties
- twilight
- vibrant-ink
- xq-dark
- xq-light
- zenburn
-
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/trailingspace.html b/public/js/lib/codemirror/demo/trailingspace.html
deleted file mode 100644
index 1992ba3ff9..0000000000
--- a/public/js/lib/codemirror/demo/trailingspace.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-CodeMirror: Trailing Whitespace Demo
-
-
-
-
-
-
-
-
-
-
-Trailing Whitespace Demo
-This text
- has some
-trailing whitespace!
-
-
-
-Uses
-the trailingspace
-addon to highlight trailing whitespace.
-
-
diff --git a/public/js/lib/codemirror/demo/variableheight.html b/public/js/lib/codemirror/demo/variableheight.html
deleted file mode 100644
index d49942864b..0000000000
--- a/public/js/lib/codemirror/demo/variableheight.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-CodeMirror: Variable Height Demo
-
-
-
-
-
-
-
-
-
-
-
-Variable Height Demo
-# A First Level Header
-
-**Bold** text in a normal-size paragraph.
-
-And a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long, wrapped line with a piece of **big** text inside of it.
-
-## A Second Level Header
-
-Now is the time for all good men to come to
-the aid of their country. This is just a
-regular paragraph.
-
-The quick brown fox jumped over the lazy
-dog's back.
-
-### Header 3
-
-> This is a blockquote.
->
-> This is the second paragraph in the blockquote.
->
-> ## This is an H2 in a blockquote
-
-
-
diff --git a/public/js/lib/codemirror/demo/vim.html b/public/js/lib/codemirror/demo/vim.html
deleted file mode 100644
index 6a33a6c075..0000000000
--- a/public/js/lib/codemirror/demo/vim.html
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-CodeMirror: Vim bindings demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Vim bindings demo
-
-#include "syscalls.h"
-/* getchar: simple buffered version */
-int getchar(void)
-{
- static char buf[BUFSIZ];
- static char *bufp = buf;
- static int n = 0;
- if (n == 0) { /* buffer is empty */
- n = read(0, buf, sizeof buf);
- bufp = buf;
- }
- return (--n >= 0) ? (unsigned char) *bufp++ : EOF;
-}
-
-Key buffer:
-
-The vim keybindings are enabled by
-including keymap/vim.js and setting
-the vimMode
option to true
. This will also
-automatically change the keyMap
option to "vim"
.
-
-Features
-
-
- All common motions and operators, including text objects
- Operator motion orthogonality
- Visual mode - characterwise, linewise, partial support for blockwise
- Full macro support (q, @)
- Incremental highlighted search (/, ?, #, *, g#, g*)
- Search/replace with confirm (:substitute, :%s)
- Search history
- Jump lists (Ctrl-o, Ctrl-i)
- Key/command mapping with API (:map, :nmap, :vmap)
- Sort (:sort)
- Marks (`, ')
- :global
- Insert mode behaves identical to base CodeMirror
- Cross-buffer yank/paste
-
-
-Note that while the vim mode tries to emulate the most useful features of
-vim as faithfully as possible, it does not strive to become a complete vim
-implementation
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/visibletabs.html b/public/js/lib/codemirror/demo/visibletabs.html
deleted file mode 100644
index 2eec337ed3..0000000000
--- a/public/js/lib/codemirror/demo/visibletabs.html
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-CodeMirror: Visible tabs demo
-
-
-
-
-
-
-
-
-
-
-Visible tabs demo
-
-#include "syscalls.h"
-/* getchar: simple buffered version */
-int getchar(void)
-{
- static char buf[BUFSIZ];
- static char *bufp = buf;
- static int n = 0;
- if (n == 0) { /* buffer is empty */
- n = read(0, buf, sizeof buf);
- bufp = buf;
- }
- return (--n >= 0) ? (unsigned char) *bufp++ : EOF;
-}
-
-
-Tabs inside the editor are spans with the
-class cm-tab
, and can be styled.
-
-
-
-
diff --git a/public/js/lib/codemirror/demo/widget.html b/public/js/lib/codemirror/demo/widget.html
deleted file mode 100644
index da39a9297a..0000000000
--- a/public/js/lib/codemirror/demo/widget.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-CodeMirror: Inline Widget Demo
-
-
-
-
-
-
-
-
-
-
-
-Inline Widget Demo
-
-
-
-
-This demo runs JSHint over the code
-in the editor (which is the script used on this page), and
-inserts line widgets to
-display the warnings that JSHint comes up with.
-
diff --git a/public/js/lib/codemirror/demo/xmlcomplete.html b/public/js/lib/codemirror/demo/xmlcomplete.html
deleted file mode 100644
index bd452e6f6e..0000000000
--- a/public/js/lib/codemirror/demo/xmlcomplete.html
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-CodeMirror: XML Autocomplete Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-XML Autocomplete Demo
-
-
-
- Press ctrl-space , or type a '<' character to
- activate autocompletion. This demo defines a simple schema that
- guides completion. The schema can be customized—see
- the manual .
-
- Development of the xml-hint
addon was kindly
- sponsored
- by www.xperiment.mobi .
-
-
-