Force tabs to space in CM

pull/37/head
Matthias BUSSONNIER 14 years ago
parent 308c4994d3
commit 2f6117bd46

@ -41,6 +41,7 @@ var IPython = (function (IPython) {
mode: 'python',
theme: 'ipython',
readOnly: this.read_only,
extraKeys: {"Tab": "indentMore","Shift-Tab" : "indentLess"},
onKeyEvent: $.proxy(this.handle_codemirror_keyevent,this)
});
input.append(input_area);

@ -35,6 +35,7 @@ var IPython = (function (IPython) {
value: this.placeholder,
readOnly: this.read_only,
lineWrapping : true,
extraKeys: {"Tab": "indentMore","Shift-Tab" : "indentLess"},
onKeyEvent: $.proxy(this.handle_codemirror_keyevent,this)
});
// The tabindex=-1 makes this div focusable.

Loading…
Cancel
Save