##// END OF EJS Templates
[gui/wx/ipython]...
ldufrechou -
Show More
@@ -397,6 +397,7 b' class WxConsoleView(stc.StyledTextCtrl):'
397 else:
397 else:
398 possibilities.sort() # Python sorts are case sensitive
398 possibilities.sort() # Python sorts are case sensitive
399 self.AutoCompSetIgnoreCase(False)
399 self.AutoCompSetIgnoreCase(False)
400 self.AutoCompSetAutoHide(False)
400 #let compute the length ot last word
401 #let compute the length ot last word
401 splitter = [' ','(','[','{']
402 splitter = [' ','(','[','{']
402 last_word = self.getCurrentLine()
403 last_word = self.getCurrentLine()
@@ -581,8 +582,8 b' class IPShellWidget(wx.Panel):'
581 lines=self.text_ctrl.getCurrentLine()
582 lines=self.text_ctrl.getCurrentLine()
582 self.text_ctrl.write('\n')
583 self.text_ctrl.write('\n')
583 lines_to_execute = lines.replace('\t',' '*4)
584 lines_to_execute = lines.replace('\t',' '*4)
584 lines_to_execute = lines_to_execute.replace('\r\n','\n')
585 lines_to_execute = lines_to_execute.replace('\r','')
585 self.IP.doExecute(lines.encode('cp1252'))
586 self.IP.doExecute(lines_to_execute.encode('cp1252'))
586 self.updateHistoryTracker(lines)
587 self.updateHistoryTracker(lines)
587 self.setCurrentState('WAIT_END_OF_EXECUTION')
588 self.setCurrentState('WAIT_END_OF_EXECUTION')
588
589
General Comments 0
You need to be logged in to leave comments. Login now