/// <summary> /// 剪切原来粘贴的内容 /// </summary> private void Cut() { var cut = new CutAction(this.PParser); cut.SetSelectBgLocal(this.PStartBgPoint, this.PEndBgPoint); cut.RestBgPoint(); cut.Cut(); this.pCutString = cut.PCutString; }
protected override BaseAction GetOperationAciton() { var cut = new CutAction(this.PParser); cut.PIsCopy = false; cut.PIsDrawBg = this.PIsUndoOrRedo; return(cut); //var cut = new CutPasteAction(this.PParser); //return cut; }