if (&p.inset() != &q.inset()) {
lyxerr << "can't compare cursor and anchor in different insets\n"
<< "p: " << p << '\n' << "q: " << q << endl;
- return true;
+ BOOST_ASSERT(false);
}
if (p.idx() != q.idx())
return p.idx() < q.idx();
}
+bool operator<=(CursorSlice const & p, CursorSlice const & q)
+{
+ return !(q < p);
+}
+
+
std::ostream & operator<<(std::ostream & os, CursorSlice const & item)
{
return os