Exemple #1
0
 public UndoableCommand(TextSource ts)
 {
     this.ts = ts;
     sel     = new RangeInfo(ts.CurrentTB.Selection);
 }
Exemple #2
0
 public CommandManager(TextSource ts)
 {
     history                = new LimitedStack <UndoableCommand>(MaxHistoryLength);
     TextSource             = ts;
     UndoRedoStackIsEnabled = true;
 }