On 14-Jan-2002 John Levon wrote:
> navigation to inside insets. Someone finish this patch purleaassse, this > bug is too old by now. > > I don't know why the cursor fucks up, and especially why the inset opening > doesn't get rendered (I've tried various random permutations of updateInset(), > bv->update() etc.) Sorry John all are waiting for my reply but I'm just too busy! Well IMO we have to track down in what case we enter here. IMO that it's just an error if we enter this test so we should cure the root not this, IMO. I could be wrong thought. Could you tell me what problems you have exactly? Step by step so that I can follow it and backtrace the problem? > + it->open(bview); As much as I know open() does not exist as an inset function does it? Did you mean it->edit(bview)? > + bview->lockInset(it); Not needed if you called edit() above! bview->lockInset(it) should only be called from inside an inset and then the cursor is set right and > + it->getLyXText(bview)->setCursor(bview, par, pos, setfont, boundary); Ok! > + bview->update(bview->text, >BufferView::FITCUR|BufferView::UPDATE); Not needed IMO! Anyway as I told above we should find the root of the problem! Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ There are only two kinds of tequila. Good and better.