- LCursor & cur = cursor();
- cur.reset(buffer()->inset());
- ParIterator::PosHolder const & positions = par.positions();
- int const last = par.size() - 1;
- for (int i = 0; i < last; ++i)
- (*positions[i].it)->inset->edit(cur, true);
- cur.resetAnchor();
- par.text(*buffer())->setCursor(cur, par.pit(), pos);
-}
-
+ for (int i = 0, n = par.size(); i < n; ++i)
+ par[i].inset().edit(cursor(), true);