Exemple #1
0
        /// <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;
        }
Exemple #2
0
        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;
        }