> 
> So I'm not able to test it it seems that you don't initialize variables
> right and you don't check if they ARE initialized. I'll have a quick look
> and see if I can solve it, if not I'll commit it AS IS and you'll be the
> resposible if noone is trying your new code #:O)

Well I had a fast look and it was cacheItem which was not initialized.
I also removed the call of updateInset() in draw() and put there instead
bv->text->status = LyXText::CHANGED_IN_DRAW which is the right procedure
for insets which are changed while drawing them (you couldn't know but
well I enlighted you ;)

I will commit now!

      Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

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

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

If computers take over (which seems to be their natural tendency), it will
serve us right.
                -- Alistair Cooke

Reply via email to