On 18-Dec-2001 Lars Gullik Bj�nnes wrote:

> To me it seems that what is done is done in a most "circular" way
> instead of more directly. All that is really done it to ensure that we
> use an uptodate and the correct LyXText for the inset. (does this
> LyXText ever change without outside "intervention"? (i.e. the
> BufferView changes width)) And wouldn't this then always change at the
> same time the BufferView's LyXText changes?
> Also it seems that this really is a local variable that has been given
> class scope (set and reset in the same func.)

As I tried to explain in the other mail this is ONLY because the call
of InsetText::update() from LyXText which could delete the LyXText where
we could be inside at this moment. The LyXText is not only regenerated
if the BufferView changes as we are inside another environment which could
change too (changing the width of a tabular column f.ex. would be the same
for the InsetText as it is the change of the width of the LyX window for
the "main" LyXText. So inside insets there are a bit more things to have a
look at then in the "main" lyxtext. Anyway the "circular" call is BAD, but
right now neccessary :(

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

The cable TV sex channels don't expand our horizons, don't make us better
people, and don't come in clearly enough.
                -- Bill Maher

Reply via email to