QScintilla/Terminal.py

branch
5_2_x
changeset 1744
a297b2f21fd3
parent 1742
c34ac31c84aa
child 2303
0ed4ed026c16
equal deleted inserted replaced
1742:c34ac31c84aa 1744:a297b2f21fd3
427 Private method to return the line and column of the last character. 427 Private method to return the line and column of the last character.
428 428
429 @return tuple of two values (int, int) giving the line and column 429 @return tuple of two values (int, int) giving the line and column
430 """ 430 """
431 line = self.lines() - 1 431 line = self.lines() - 1
432 return (line, self.lineLength(line)) 432 return (line, len(self.text(line)))
433 433
434 def __write(self, s): 434 def __write(self, s):
435 """ 435 """
436 Private method to display some text. 436 Private method to display some text.
437 437

eric ide

mercurial