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 |