snippets: handle activation of snippet proposals.