completion behaviour improvements: * insert generated text into all carets' positions * apply post-completion actions (like parenthesis insertion) to all carets