'Insert all completions of the text before point that would have
been generated by possible-completions.'

def insert_completions(self, e):

    completions = self._get_completions()
    b = self.begidx
    e = self.endidx
    for comp in completions:
        rep = [c for c in comp]
        rep.append('    ')
        self.l_buffer[b:e] = rep
        b += len(rep)
        e = b
    self.line_cursor = b
