set origin to change done by completion

The change event currently doesn't have an origin set if the change was caused by picking a hint (i.e. a completion). Paste operations sets the "paste" origin right now, and it would be helpful to have "completion" as well.