On 25-Jul-2001 Asger K. Alstrup Nielsen wrote:
> Ok, kids.
Welcome back Asger!
> I'm up and running again. I've just succeeded in compiling the cvs
> version of LyX, and it seems to run.
Well you know we're always stable now ;)
> So a few questions:
>
> - What should I work on?
IMO a VERY important question I made yesterday but noone answered till today
and you seem the right man to be able to answer it is:
Why the hell is it possible to insert Insets in a InsetERT byt copy/paste!!!
There is a Inset-method called
virtual bool insetAllowed(Inset::Code) const { return false; }
And this is implemented in InsetCollapsable AND InsetERT. As the function
is defined "virtula" it should always call the function in InsetERT (am
I mistaken here?), while now it is calling the function in InsetCollapsable!!!
Have a look (with a debugger) at the function Paragraph::insertFromMinibuffer
while pasting another inset inside an InsetERT and try to follow the
insetAllowed function and you see where it end's up.
I'm REALLY clueless about this. Do only I see this? Is this my compiler?
Or do others experience the same problem?
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
People who push both buttons should get their wish.