##// END OF EJS Templates
Fix empty autosuggestions bugging out the end key...
Blazej Michalik -
Show More
@@ -271,7 +271,7 b' def create_ipython_shortcuts(shell):'
271 def _apply_autosuggest(event):
271 def _apply_autosuggest(event):
272 b = event.current_buffer
272 b = event.current_buffer
273 suggestion = b.suggestion
273 suggestion = b.suggestion
274 if suggestion:
274 if suggestion is not None and suggestion.text:
275 b.insert_text(suggestion.text)
275 b.insert_text(suggestion.text)
276 else:
276 else:
277 nc.end_of_line(event)
277 nc.end_of_line(event)
General Comments 0
You need to be logged in to leave comments. Login now