redo method

void redo()

Redo Previous Undo

Implementation

void redo() {
  int count = 0;
  while (true) {
    if (canRedo == false) {
      break;
    }
    final change = _redos.removeFirst();
    change.redoExecute();
    _history.addLast(change);
    //lastChanged = change;
    count++;
    if (change.transState == TransState.none || change.transState == TransState.end) {
      if (count > 1 && change.mid.isNotEmpty) {
        //print('redo endTrans call save ----------------------');
        saveManagerHolder!.pushChanged(change.mid, 'redo endTrans');
      }
      break;
    }
  }
}