##// END OF EJS Templates
Make all_completions use new completion code...
memeplex -
Show More
@@ -1136,8 +1136,12 b' class IPCompleter(Completer):'
1136
1136
1137 def all_completions(self, text):
1137 def all_completions(self, text):
1138 """
1138 """
1139 Wrapper around the complete method for the benefit of emacs.
1139 Wrapper around the completions method for the benefit of emacs.
1140 """
1140 """
1141 prefix = text[:text.rfind(".") + 1]
1142 return map(lambda c: prefix + c.text,
1143 self.completions(text, len(text)))
1144
1141 return self.complete(text)[1]
1145 return self.complete(text)[1]
1142
1146
1143 def _clean_glob(self, text):
1147 def _clean_glob(self, text):
General Comments 0
You need to be logged in to leave comments. Login now