On 19-Oct-2001 John Levon wrote:
>> I already told this to people on the list various time. This is a problem
>> I cannot understand and is of class inheritance. In some cases instead
>> of calling the right functions inside the class it calls some other functions
>> just try to debug it and you'll see what I mean! I also asked for Help and
>
> what functions are we talking about, in which classes ?
Easy to debug try to do the cut&paste operations in gdb and stop at the
function 'bool Paragraph::checkInsertChar(LyXFont & font)' (paragraph.C)
then look which "efective" function is called in the call
pimpl_->inset_owner->checkInsertChar(font);
You'll see that sometimes instead of calling the function INSIDE InsetERT
the virtual function of Inset:: is called :(.
Hope this helps,
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
A fanatic is a person who can't change his mind and won't change the subject.
- Winston Churchill