##// END OF EJS Templates
Don't try to complete on an empty line
Thomas Kluyver -
Show More
@@ -19,6 +19,9 b' class IPythonPTCompleter(Completer):'
19 19 self.ipy_completer = ipy_completer
20 20
21 21 def get_completions(self, document, complete_event):
22 if not document.current_line.strip():
23 return
24
22 25 used, matches = self.ipy_completer.complete(
23 26 line_buffer=document.current_line,
24 27 cursor_pos=document.cursor_position_col
General Comments 0
You need to be logged in to leave comments. Login now