def installFakeVimHandler(self): if ReTextFakeVimHandler: fakeVimEditor = ReTextFakeVimHandler(self.editBox, self) fakeVimEditor.setSaveAction(self.actionSave) fakeVimEditor.setQuitAction(self.actionQuit) # TODO: action is bool, really call remove? self.p.actionFakeVimMode.triggered.connect(fakeVimEditor.remove)
def installFakeVimHandler(self): if ReTextFakeVimHandler: fakeVimEditor = ReTextFakeVimHandler(self, self.parent) fakeVimEditor.setSaveAction(self.parent.actionSave) fakeVimEditor.setQuitAction(self.parent.actionQuit) self.parent.actionFakeVimMode.triggered.connect( fakeVimEditor.remove)
def installFakeVimHandler(self): if ReTextFakeVimHandler: fakeVimEditor = ReTextFakeVimHandler(self, self.parent) fakeVimEditor.setSaveAction(self.parent.actionSave) fakeVimEditor.setQuitAction(self.parent.actionQuit) self.parent.actionFakeVimMode.triggered.connect(fakeVimEditor.remove)