Upgrade codemirror and enable line wrapping

Fixes #678.
This commit is contained in:
Ben Alpert
2013-12-30 18:06:00 -07:00
parent cf653b1a07
commit 3e8520f9d8
2 changed files with 1539 additions and 741 deletions

View File

@@ -21,6 +21,7 @@ var CodeMirrorEditor = React.createClass({
this.editor = CodeMirror.fromTextArea(this.refs.editor.getDOMNode(), {
mode: 'javascript',
lineNumbers: false,
lineWrapping: true,
matchBrackets: true,
theme: 'solarized-light',
readOnly: this.props.readOnly

File diff suppressed because it is too large Load Diff