Row & DocIterator::textRow()
{
- return *paragraph().getRow(pos());
+ return paragraph().getRow(pos());
}
Row const & DocIterator::textRow() const
{
- return *paragraph().getRow(pos());
+ return paragraph().getRow(pos());
}
}
-DocIterator::row_type DocIterator::crow() const
-{
- return paragraph().row(pos());
-}
-
-
-DocIterator::row_type DocIterator::lastcrow() const
-{
- return paragraph().rows.size();
-}
-
-
DocIterator::idx_type DocIterator::lastidx() const
{
return top().lastidx();
top.pos() = 0;
return;
}
- //lyxerr << "... no next par" << endl;
+ //lyxerr << "... no next pit" << endl;
// otherwise try to move on one cell if possible
if (top.idx() < lastidx()) {