}
+bool & CursorSlice::boundary()
+{
+ return boundary_;
+}
+
+
CursorSlice::row_type CursorSlice::row() const
{
BOOST_ASSERT(asMathInset());
}
-void CursorSlice::getScreenPos(int & x, int & y) const
-{
- BOOST_ASSERT(asMathInset());
- asMathInset()->getScreenPos(idx_, pos_, x, y);
-}
-
-
LyXText * CursorSlice::text() const
{
- return asUpdatableInset() ? asUpdatableInset()->getText(idx_) : 0;
+ return inset_ ? inset_->getText(idx_) : 0;
}
std::ostream & operator<<(std::ostream & os, CursorSlice const & item)
{
os << "inset: " << item.inset_
-// << " text: " << item.text()
+ << " text: " << item.text()
<< " idx: " << item.idx_
<< " par: " << item.par_
<< " pos: " << item.pos_