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