When selecting a window, the editor is not active by default. If you want to replace a selection by something you select from a diffent window, you first have to select what you want to copy, then change to the window and then select what you want to replace. If you already have a selection, you will have to reselect that.