421 |
420 |
422 @param s text to be displayed (string) |
421 @param s text to be displayed (string) |
423 """ |
422 """ |
424 line, col = self.__getEndPos() |
423 line, col = self.__getEndPos() |
425 self.setCursorPosition(line, col) |
424 self.setCursorPosition(line, col) |
426 ## self.insert(toUnicode(s)) |
|
427 self.insert(s) |
425 self.insert(s) |
428 self.prline, self.prcol = self.getCursorPosition() |
426 self.prline, self.prcol = self.getCursorPosition() |
429 self.ensureCursorVisible() |
427 self.ensureCursorVisible() |
430 self.ensureLineVisible(self.prline) |
428 self.ensureLineVisible(self.prline) |
431 |
429 |