QScintilla/Terminal.py

changeset 1743
4f9afcd8eb9d
parent 1739
db21de268131
child 1830
f2fccb8c2ab4
equal deleted inserted replaced
1741:ecde46558a10 1743:4f9afcd8eb9d
431 Private method to return the line and column of the last character. 431 Private method to return the line and column of the last character.
432 432
433 @return tuple of two values (int, int) giving the line and column 433 @return tuple of two values (int, int) giving the line and column
434 """ 434 """
435 line = self.lines() - 1 435 line = self.lines() - 1
436 return (line, self.lineLength(line)) 436 return (line, len(self.text(line)))
437 437
438 def __write(self, s): 438 def __write(self, s):
439 """ 439 """
440 Private method to display some text. 440 Private method to display some text.
441 441

eric ide

mercurial