RefactoringRope/CodeAssistServer.py

branch
server_client_variant
changeset 221
b3592afc8718
parent 220
763ef93fabee
child 223
d30d3b0d1df5
equal deleted inserted replaced
220:763ef93fabee 221:b3592afc8718
517 Public method to activate the code assist server. 517 Public method to activate the code assist server.
518 """ 518 """
519 try: 519 try:
520 self.__documentationViewer = self.__ui.documentationViewer() 520 self.__documentationViewer = self.__ui.documentationViewer()
521 self.__documentationViewer.registerProvider( 521 self.__documentationViewer.registerProvider(
522 "rope", self.tr("Rope"), self.requestCodeDocumentation) 522 "rope", self.tr("Rope"), self.requestCodeDocumentation,
523 self.isSupportedLanguage)
523 except AttributeError: 524 except AttributeError:
524 # eric6 before 17.11 doesn't have this 525 # eric6 before 17.11 doesn't have this
525 pass 526 pass
526 527
527 def deactivate(self): 528 def deactivate(self):
612 613
613 @param editor reference to the editor 614 @param editor reference to the editor
614 @type QScintilla.Editor.Editor 615 @type QScintilla.Editor.Editor
615 """ 616 """
616 editor.removeCallTipHook("rope") 617 editor.removeCallTipHook("rope")
617
618 # TODO: add method to edit the codeassist python2 and 3 config files

eric ide

mercurial