QScintilla/Shell.py

branch
5_2_x
changeset 1744
a297b2f21fd3
parent 1589
9f0fef4a4fbe
child 2011
2f37498455c9
equal deleted inserted replaced
1742:c34ac31c84aa 1744:a297b2f21fd3
584 Private method to return the line and column of the last character. 584 Private method to return the line and column of the last character.
585 585
586 @return tuple of two values (int, int) giving the line and column 586 @return tuple of two values (int, int) giving the line and column
587 """ 587 """
588 line = self.lines() - 1 588 line = self.lines() - 1
589 return (line, self.lineLength(line)) 589 return (line, len(self.text(line)))
590 590
591 def __write(self, s): 591 def __write(self, s):
592 """ 592 """
593 Private method to display some text. 593 Private method to display some text.
594 594

eric ide

mercurial