Andre Poenitz <[EMAIL PROTECTED]> writes:

| 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. 

I think Assert.

perhaps we should have an Assert with message?


| 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'
| 

-- 
        Lgb

Reply via email to