Show More
@@ -427,8 +427,8 b' class WxController(ConsoleWidget, PrefilterFrontEnd):' | |||
|
427 | 427 | self.input_buffer = new_buffer |
|
428 | 428 | # Tab-completion |
|
429 | 429 | elif event.KeyCode == ord('\t'): |
|
430 | last_line = self.input_buffer.split('\n')[-1] | |
|
431 |
if not re.match(r'^\s*$', |
|
|
430 | current_line, current_line_number = self.CurLine | |
|
431 | if not re.match(r'^\s*$', current_line): | |
|
432 | 432 | self.complete_current_input() |
|
433 | 433 | if self.AutoCompActive(): |
|
434 | 434 | wx.CallAfter(self._popup_completion, create=True) |
General Comments 0
You need to be logged in to leave comments.
Login now