Commits

angri  committed 1693bfb

codeassist: code_assist() should call _completion_data to make extending possible

  • Participants
  • Parent commits 5d54162

Comments (0)

Files changed (1)

File ropemode/interface.py

             self._starting = common_start
             self._offset = self.starting_offset + len(common_start)
         prompt = 'Completion for %s: ' % self.expression
-        proposals = map(self.env._completion_text, proposals)
+        proposals = map(self.env._completion_data, proposals)
         result = self.env.ask_completion(prompt, proposals, self.starting)
         if result is not None:
             self._apply_assist(result)