Skip to content

Commit

Permalink
Add linewrapping to text cells (new feature in CodeMirror).
Browse files Browse the repository at this point in the history
  • Loading branch information
fperez committed Jan 26, 2012
1 parent 237e539 commit 786bdcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IPython/frontend/html/notebook/static/js/textcell.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 786bdcd

Please sign in to comment.