- InsetList::const_iterator icit = p.insetlist_.begin();
- InsetList::const_iterator iend = p.insetlist_.end();
- for (; icit != iend; ++icit) {
- if (icit->pos < beg)
- continue;
- if (icit->pos >= end)
- break;
- // Add a new entry in the insetlist_.
- insetlist_.insert(icit->inset, icit->pos - beg);
- }