Commits

Ali Gholami Rudi  committed 42413ab

rope-find-occurrences: using findit.find_occurrences()

  • Participants
  • Parent commits 12cfd8c

Comments (0)

Files changed (1)

File ropemacs/interface.py

 import rope.base.change
 from Pymacs import lisp
 from rope.base import libutils
-from rope.contrib import codeassist, generate, autoimport
+from rope.contrib import codeassist, generate, autoimport, findit
 
 from ropemacs import refactor, lisputils, decorators, dialog
 
             resources = refactor._resources(self.project,
                                             values.get('resources'))
             def calculate(handle):
-                return codeassist.find_occurrences(
+                return findit.find_occurrences(
                     self.project, resource, offset, unsure=unsure,
                     resources=resources, in_hierarchy=hier, task_handle=handle)
             result = lisputils.runtask(calculate, 'Find Occurrences')