Show More
@@ -123,6 +123,7 b' var IPython = (function (IPython) {' | |||
|
123 | 123 | } else if (event.keyCode === key.TAB && event.type == 'keydown') { |
|
124 | 124 | // Tab completion. |
|
125 | 125 | //Do not trim here because of tooltip |
|
126 | if (editor.somethingSelected()){return false} | |
|
126 | 127 | var pre_cursor = editor.getRange({line:cur.line,ch:0},cur); |
|
127 | 128 | if (pre_cursor.trim() === "") { |
|
128 | 129 | // Don't autocomplete if the part of the line before the cursor |
General Comments 0
You need to be logged in to leave comments.
Login now