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 |