On 06-Mar-2002 Jose Abilio Oliveira Matos wrote: > Hi, > when I select some test and then paste it, I get, even for a new document, > this:
This is as most of recent Aborts because of Lars new layout code. I find it stupid that and I put the blame that new Paragraph should set a layout, but anyway this patch I will commit right now fixes the thing. Jug Index: CutAndPaste.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/CutAndPaste.C,v retrieving revision 1.52 diff -u -p -u -r1.52 CutAndPaste.C --- CutAndPaste.C 2002/03/05 23:02:36 1.52 +++ CutAndPaste.C 2002/03/06 13:17:02 @@ -169,6 +169,7 @@ bool CutAndPaste::copySelection(Paragrap if (!endpar || startpar == endpar) { // only within one paragraph buf = new Paragraph; + buf->layout(startpar->layout()); pos_type i = start; if (end > startpar->size()) end = startpar->size(); -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ 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 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When it's dark enough you can see the stars. -- Ralph Waldo Emerson,