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