I just found out that setSelection() isn't implemented: Not implemented: setSelection Aborted Could this be added before the release of 2.5? (Not that it is exceptionally urgent, since it's equivalent to: self.editor.setCursorPosition(l1, c1, FALSE) self.editor.setCursorPosition(l2, c2, TRUE)), but it is confusing... Boudewijn