editor: implement Cut,Copy,Paste