text: public void UpdateNamesAfterCellShift(FormulaShifter shifter){for (int i = 0; i < NumNames; ++i){NameRecord nr = GetNameRecord(i);Ptg[] ptgs = nr.NameDefinition;if (shifter.AdjustFormula(ptgs, nr.SheetNumber)){nr.NameDefinition = ptgs;}}}