Lars Gullik Bj�nnes wrote:
> 
> Michael Schmitt <[EMAIL PROTECTED]> writes:
> 
> |   #0  LyXText::Selection::set (this=0xa8, s=false) at lyxtext.h:260
> |   #1  0x080f49e1 in LyXText::clearSelection (this=0x0) at text2.C:1059
> |   #2  0x08155df2 in InsetText::insetButtonPress (this=0x855beee8,
> |   bv=0x5fce8fec, x=82, y=-2, button=1) at insettext.C:996
> 
> Seems that the lt (who decided on a non-descriptive name like that?)
> variable is used wrongly.
> 
> Can someone please tell me what this variable really is used for?
> I must say that this variable in particular makes insettext a lot
> harder to understand.
> 
> --
>         Lgb
>From insettext.h at ablut line 383
        ///
        // this is needed globally so we know that we're using it
actually and
        // so the LyXText-Cache is not erased until used!
        mutable LyXText * lt;
        ///
        // to remember old painted frame dimensions to clear it on the
right spo
t!
        ///
Introduced in insets/ChangeLog
2001-07-12 ... jug
Garst


Reply via email to