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 |