Exemplo n.º 1
0
	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)
Exemplo n.º 2
0
Arquivo: editor.py Projeto: rhn/retext
 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)
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
	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)