Use selected annotations when replacing content

If you select some content which is consistently annotated
and replace it you'd expect your replacement to maintain
those annotations.

Change-Id: I6f6b0af1fd548bd5c20f7ba03f8c769c99bec999