FastColoredTextBoxNS.SelectCommand.Clone C# (CSharp) 메소드

Clone() 공개 메소드

public Clone ( ) : UndoableCommand
리턴 UndoableCommand
        public override UndoableCommand Clone()
        {
            var result = new SelectCommand(ts);
            if(lastSel!=null)
                result.lastSel = new RangeInfo(new Range(ts.CurrentTB, lastSel.Start, lastSel.End));
            return result;
        }