'Shows the snippets that could be expanded to the User and let her
select one.'

@err_to_scratch_buffer.wrap
def list_snippets(self):

    before = _vim.buf.line_till_cursor
    snippets = self._snips(before, True)
    if (len(snippets) == 0):
        self._handle_failure(self.backward_trigger)
        return True
    snippets.sort(key=(lambda x: x.trigger))
    if (not snippets):
        return True
    snippet = _ask_snippets(snippets)
    if (not snippet):
        return True
    self._do_snippet(snippet, before)
    return True
