Add linewrapping to text cells (new feature in CodeMirror).

This commit is contained in:
Fernando Perez 2012-01-25 22:17:12 -08:00
parent ef1cc56996
commit df7d91f30a

View File

@ -34,6 +34,7 @@ var IPython = (function (IPython) {
theme: 'default',
value: this.placeholder,
readOnly: this.read_only,
lineWrapping : true,
onKeyEvent: $.proxy(this.handle_codemirror_keyevent,this)
});
// The tabindex=-1 makes this div focusable.