I think there are a few places in InsetText that are never reached. Should I put in a lyxerr<< or an Assert or ...?
I.e.
LyXCursor const & InsetText::cursor(BufferView * bv) const
{
if (the_locking_inset) {
lyxerr << "InsetText::cursor(). Should not happen!\n";
return the_locking_inset->cursor(bv);
}
return getLyXText(bv)->cursor;
}
Andre'
