bool Cursor::isRTL() const
{
bool Cursor::isRTL() const
{
- if (inMathed())
- return innerParagraph().isRightToLeftPar(bv().buffer()->params());
-
- return top().paragraph().isRightToLeftPar(bv().buffer()->params());
+ return innerParagraph().isRightToLeftPar(bv().buffer()->params());
return slices_[i].paragraph();
// This case is in principe not possible. We _must_
return slices_[i].paragraph();
// This case is in principe not possible. We _must_
- // we inside a Paragraph.
+ // be inside a Paragraph.
BOOST_ASSERT(false);
return paragraph();
}
BOOST_ASSERT(false);
return paragraph();
}