PluginRefactoringRope.py

changeset 246
6d84fb9cc612
parent 245
75a35a927952
child 248
59e983db024b
equal deleted inserted replaced
245:75a35a927952 246:6d84fb9cc612
21 # Start-Of-Header 21 # Start-Of-Header
22 name = "Refactoring Rope Plugin" 22 name = "Refactoring Rope Plugin"
23 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 23 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
24 autoactivate = True 24 autoactivate = True
25 deactivateable = True 25 deactivateable = True
26 version = "5.0.7" 26 version = "5.0.8"
27 className = "RefactoringRopePlugin" 27 className = "RefactoringRopePlugin"
28 packageName = "RefactoringRope" 28 packageName = "RefactoringRope"
29 internalPackages = "rope" 29 internalPackages = "rope"
30 shortDescription = "Refactoring using the Rope library." 30 shortDescription = "Refactoring using the Rope library."
31 longDescription = """This plug-in implements refactoring functionality""" \ 31 longDescription = """This plug-in implements refactoring functionality""" \
285 else: 285 else:
286 for editor in self.__editors[:]: 286 for editor in self.__editors[:]:
287 self.__editorClosed(editor) 287 self.__editorClosed(editor)
288 elif key in ["MouseClickGotoModifiers", "MouseClickGotoButton"]: 288 elif key in ["MouseClickGotoModifiers", "MouseClickGotoButton"]:
289 for editor in self.__editors: 289 for editor in self.__editors:
290 self.__disconnectMouseClickHandler(editor) 290 self.__refactoringServer.disconnectEditor(editor)
291 self.__connectMouseClickHandler(editor) 291 self.__refactoringServer.connectEditor(editor)
292 292
293 def __editorOpened(self, editor): 293 def __editorOpened(self, editor):
294 """ 294 """
295 Private slot called, when a new editor was opened. 295 Private slot called, when a new editor was opened.
296 296

eric ide

mercurial