##// END OF EJS Templates
Merge pull request #11591 from memeplex/fix-emacs-completions...
Matthias Bussonnier -
r24936:6e1eff64 merge
parent child Browse files
Show More
@@ -1134,10 +1134,15 b' class IPCompleter(Completer):'
1134 self.dict_key_matches,
1134 self.dict_key_matches,
1135 ]
1135 ]
1136
1136
1137 def all_completions(self, text):
1137 def all_completions(self, text) -> List[str]:
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 with provisionalcompleter():
1143 return list(map(lambda c: prefix + c.text,
1144 self.completions(text, len(text))))
1145
1141 return self.complete(text)[1]
1146 return self.complete(text)[1]
1142
1147
1143 def _clean_glob(self, text):
1148 def _clean_glob(self, text):
General Comments 0
You need to be logged in to leave comments. Login now