Show More
@@ -516,8 +516,9 b' class IPShellWidget(wx.Panel):' | |||||
516 | #---------------------- IPython Thread Management ------------------------ |
|
516 | #---------------------- IPython Thread Management ------------------------ | |
517 | def stateDoExecuteLine(self): |
|
517 | def stateDoExecuteLine(self): | |
518 | #print >>sys.__stdout__,"command:",self.getCurrentLine() |
|
518 | #print >>sys.__stdout__,"command:",self.getCurrentLine() | |
519 | line=self.text_ctrl.getCurrentLine() |
|
519 | lines=self.text_ctrl.getCurrentLine() | |
520 | self.text_ctrl.write('\n') |
|
520 | self.text_ctrl.write('\n') | |
|
521 | for line in lines.split('\n'): | |||
521 | self.IP.doExecute((line.replace('\t',' '*4)).encode('cp1252')) |
|
522 | self.IP.doExecute((line.replace('\t',' '*4)).encode('cp1252')) | |
522 | self.updateHistoryTracker(self.text_ctrl.getCurrentLine()) |
|
523 | self.updateHistoryTracker(self.text_ctrl.getCurrentLine()) | |
523 | self.setCurrentState('WAIT_END_OF_EXECUTION') |
|
524 | self.setCurrentState('WAIT_END_OF_EXECUTION') | |
@@ -642,6 +643,7 b' class IPShellWidget(wx.Panel):' | |||||
642 | if event.GetKeyCode() in [ord('q'),ord('Q')]: |
|
643 | if event.GetKeyCode() in [ord('q'),ord('Q')]: | |
643 | if self.pager_state == 'WAITING': |
|
644 | if self.pager_state == 'WAITING': | |
644 | self.pager_state = 'DONE' |
|
645 | self.pager_state = 'DONE' | |
|
646 | self.text_ctrl.write('\n') | |||
645 | self.stateShowPrompt() |
|
647 | self.stateShowPrompt() | |
646 | return |
|
648 | return | |
647 |
|
649 |
1 | NO CONTENT: modified file |
|
NO CONTENT: modified file |
General Comments 0
You need to be logged in to leave comments.
Login now