QScintilla/Shell.py

changeset 6578
2fb729cca297
parent 6576
ea60ea85067a
child 6580
082d58e2415e
equal deleted inserted replaced
6577:232f83b6763b 6578:2fb729cca297
825 825
826 def __writePrompt(self): 826 def __writePrompt(self):
827 """ 827 """
828 Private method to write the prompt. 828 Private method to write the prompt.
829 """ 829 """
830 # get all queued text first by forcing the -_concatenateText() to run
831 self.__concatenateText("")
832
830 self.__write(self.inContinue and sys.ps2 or sys.ps1) 833 self.__write(self.inContinue and sys.ps2 or sys.ps1)
831 # little trick to get the cursor position registered within QScintilla 834 # little trick to get the cursor position registered within QScintilla
832 self.SendScintilla(QsciScintilla.SCI_CHARLEFT) 835 self.SendScintilla(QsciScintilla.SCI_CHARLEFT)
833 self.SendScintilla(QsciScintilla.SCI_CHARRIGHT) 836 self.SendScintilla(QsciScintilla.SCI_CHARRIGHT)
834 837

eric ide

mercurial