LyXCursor::LyXCursor()
- : par_(0), pos_(0), boundary_(false),
+ : par_(), pos_(0), boundary_(false),
x_(0), ix_(0), x_fix_(0), y_(0), iy_(0), row_(0)
{}
-void LyXCursor::par(Paragraph * p)
+void LyXCursor::par(ParagraphList::iterator pit)
{
- par_ = p;
+ par_ = pit;
}
-Paragraph * LyXCursor::par() const
+ParagraphList::iterator LyXCursor::par() const
{
return par_;
}
}
-void LyXCursor::row(Row * r)
+void LyXCursor::row(RowList::iterator r)
{
row_ = r;
}
-Row * LyXCursor::row() const
+RowList::iterator LyXCursor::row() const
{
return row_;
}
-void LyXCursor::irow(Row * r)
+void LyXCursor::irow(RowList::iterator r)
{
irow_ = r;
}
-Row * LyXCursor::irow() const
+RowList::iterator LyXCursor::irow() const
{
return irow_;
}