]> git.lyx.org Git - features.git/blobdiff - src/iterators.C
mathed uglyfication
[features.git] / src / iterators.C
index fda9d6c5d8b774b76b4acc7314985f8b6c12d3fc..5f5a535bad0ab435d804b6d32fab891e69c5deba 100644 (file)
@@ -401,9 +401,7 @@ ParIterator::ParIterator(PosIterator const & pos)
 
 void ParIterator::lockPath(BufferView * bv) const
 {
-       bv->fullCursor() = LCursor(bv);
-       int last = size() - 1;
-#warning this seems to create just one entry for InsetTabulars
-       for (int i = 0; i < last; ++i)
+       bv->fullCursor() = LCursor(*bv);
+       for (int i = 0, last = size() - 1; i < last; ++i)
                (*pimpl_->positions[i].it)->inset->edit(bv, true);
 }