add  ContextMenu  Cut,Copy,Paste,Select All , Redo and  Undo!

you can merge some code !