def setController(self, controller):
    ActiveWindow.setController(self, controller)
    self.controller.setTextBuffer(self.textBuffer)
def setController(self, controller):
    ActiveWindow.setController(self, controller)
    self.controller.setTextBuffer(self.textBuffer)