text: public void ModifyFormatRun(short oldPos, short newLen){short shift = (short)0;for (int idx = 0; idx < m_formats.Count; idx++){CTFormat ctf = (CTFormat)m_formats[idx];if (shift != 0){ctf.Offset = ((short)(ctf.Offset + shift));}else if ((oldPos == ctf.Offset) && (idx < (m_formats.Count - 1))){CTFormat nextCTF = (CTFormat)m_formats[idx + 1];shift = (short)(newLen - (nextCTF.Offset - ctf.Offset));}}}