public override void redo() { // remove the specified textCell from the list of the layer, // but do not delete it, also memorise its last position mTextCellIndex.Clear(); foreach (Layer.LayerItem obj in mTextCells) { mTextCellIndex.Add(mTextLayer.removeTextCell(obj as LayerText.TextCell)); } }
public override void undo() { // remove the specified textCell from the list of the layer, // but do not delete it, also memorise its last position mTextCellIndex = mTextLayer.removeTextCell(mTextCell); }