Lars Gullik Bjønnes wrote: > still have problems with row reordering, and I do not really see why. > > But it is better I guess.
Dindn't finished compiling it yet, but I think that this is the problem: now insertRow and appendParagraph and insertParagraph behave exactly as before, but you have changed a call to insertParagraph: (this is your 1-e) @@ -758,7 +751,11 @@ void LyXText::redoParagraphs(LyXCursor c tmppar = first_phys_par; do { if (tmppar) { - insertParagraph(tmppar, tmprow); + if (!tmprow) + insertParagraph(tmppar, firstRow()); + else + insertParagraph(tmppar, tmprow); + if (!tmprow) { tmprow = firstRow(); } Alfredo