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 |