-CursorSlice::CursorSlice(InsetBase * p)
- : inset_(p), idx_(0), par_(0), pos_(0), boundary_(false)
-{
- ///BOOST_ASSERT(inset_);
-}
-
-
-void CursorSlice::par(lyx::paroffset_type par)
-{
- par_ = par;
-}
-
-
-lyx::paroffset_type CursorSlice::par() const
-{
- return par_;
-}
-
-
-void CursorSlice::pos(lyx::pos_type pos)
-{
- pos_ = pos;
-}
-
-
-lyx::pos_type CursorSlice::pos() const
-{
- return pos_;
-}
-
-
-void CursorSlice::boundary(bool boundary)
-{
- boundary_ = boundary;
-}
-
-
-bool CursorSlice::boundary() const
+CursorSlice::CursorSlice(InsetBase & p)
+ : inset_(&p), idx_(0), pit_(0), pos_(0)