Update to CodeMirror 5.4.1

pull/9/head
Wes Cossick 9 years ago
parent f0a2255870
commit 83722ff7b2

@ -53,7 +53,7 @@ simplemde.value();
- **element**: The DOM element for the textarea to use. Defaults to the first textarea on the page.
- **status**: If set to `false`, hide the status bar. Defaults to `true`.
- Optionally, you can set an array of status bar elements to include
- Optionally, you can set an array of status bar elements to include.
- **toolbar**: If set to `false`, hide the toolbar. Defaults to `true`.
- **autofocus**: If set to `true`, autofocuses the editor. Defaults to `false`.
- **lineWrapping**: If set to `false`, disable line wrapping. Defaults to `true`.

@ -6791,7 +6791,7 @@
// is needed on Webkit to be able to get line-level bounding
// rectangles for it (in measureChar).
var content = elt("span", null, null, webkit ? "padding-right: .1px" : null);
var builder = {pre: elt("pre", [content]), content: content,
var builder = {pre: elt("pre", [content], "CodeMirror-line"), content: content,
col: 0, pos: 0, cm: cm,
splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")};
lineView.measure = {};
@ -8729,7 +8729,7 @@
// THE END
CodeMirror.version = "5.3.1";
CodeMirror.version = "5.4.1";
return CodeMirror;
});
Loading…
Cancel
Save