Move doPaste method out of InputTextFrame.