public void Execute(object arg) { TextArea ta; if ((ta = arg as TextArea) != null) { ViSDGlobalClipBoard.Paste(ta); ViSDGlobalState.State = State.Command; ViSDGlobalCount.ResetAll(); } }
public void Execute(object arg) { TextArea ta; if ((ta = arg as TextArea) != null) { ViSDGlobalClipBoard.CopySelected(ta); ta.Selection.ReplaceSelectionWithText(ta, ""); //remove selection ViSDGlobalState.State = State.Command; ViSDGlobalCount.ResetAll(); } }