[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| I'll try to revert all my ParagraphList changes to InsetText, to check
| if that helps.
| 
| The ParagraphList is really needed to get the rest of the work done.
| (removal of prev,next)

Ok, I found the problem.
And I realize now that I have been bitten by this one before.
It because of the _terrible_ calling convetions of
parseSingleLyXformat2Token... it requires that a "reference to
pointer" to be passed.

This is the fix:

Index: insettext.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.318
diff -u -p -r1.318 insettext.C
--- insettext.C 13 Aug 2002 17:43:38 -0000      1.318
+++ insettext.C 14 Aug 2002 09:09:06 -0000
@@ -274,6 +274,7 @@ void InsetText::read(Buffer const * buf,
                        lex.printError("\\the_end read in inset! Error in docume
nt!");
                        return;
                }
+               paragraphs.set(tmp);
        }
        if (!return_par)
                return_par = &*(paragraphs.begin());


-- 
        Lgb

Reply via email to