Moving cursor to the end of pasted text