QScintilla/Shell.py

changeset 1743
4f9afcd8eb9d
parent 1588
dccffd13be8d
child 1833
f7cd855680f1
equal deleted inserted replaced
1741:ecde46558a10 1743:4f9afcd8eb9d
588 Private method to return the line and column of the last character. 588 Private method to return the line and column of the last character.
589 589
590 @return tuple of two values (int, int) giving the line and column 590 @return tuple of two values (int, int) giving the line and column
591 """ 591 """
592 line = self.lines() - 1 592 line = self.lines() - 1
593 return (line, self.lineLength(line)) 593 return (line, len(self.text(line)))
594 594
595 def __write(self, s): 595 def __write(self, s):
596 """ 596 """
597 Private method to display some text. 597 Private method to display some text.
598 598

eric ide

mercurial