if (pos() == lastpos())
return 0;
if (pos() > lastpos()) {
- LYXERR0("Should not happen, but it does. ");
+ LYXERR0("Should not happen, but it does: pos() = "
+ << pos() << ", lastpos() = " << lastpos());
return 0;
}
if (inMathed())
if (cell().empty())
// FIXME: this should not happen but it does.
// See bug 3189
- // http://bugzilla.lyx.org/show_bug.cgi?id=3189
+ // http://www.lyx.org/trac/ticket/3189
return 0;
else
return prevAtom().nucleus();