##// END OF EJS Templates
Merge pull request #2498 from Carreau/fixes2487...
Bussonnier Matthias -
r8654:9b8569ea merge
parent child Browse files
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