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