FastColoredTextBoxNS.UndoableCommand.Clone C# (CSharp) Method

Clone() public abstract method

public abstract Clone ( ) : UndoableCommand
return UndoableCommand
        public abstract UndoableCommand Clone();

Usage Example

示例#1
0
 private void ExecuteCommand(ref int iChar)
 {
     foreach (var r in range.GetSubRanges(false))
     {
         ts.CurrentTB.Selection = r;
         var c = cmd.Clone();
         c.Execute();
         if (ts.CurrentTB.Selection.End.iChar > iChar)
         {
             iChar = ts.CurrentTB.Selection.End.iChar;
         }
         commandsByRanges.Add(c);
     }
 }
All Usage Examples Of FastColoredTextBoxNS.UndoableCommand::Clone