On Tue, Mar 05, 2002 at 10:24:45PM +0100, Lars Gullik Bjønnes wrote: > Michael Schmitt <[EMAIL PROTECTED]> writes: > > | Hi Lars, > > > | I still encounter problems with your recent changes. Currently, I > | cannot even load one of my files! LyX just aborts. > > > | Maybe we should start with a problem that is so elementary that I > | wonder why nobody has fixed it so far. > > > | 1. Open new doc > | 2. Enter "a" > | 3. Move cursor in front of "a" > | 3. Press return > > I do not get an abort, but I see the console messages. > > -- > Lgb
The problem is in Paragraph::breakParagraph towards the end. The return value is empty string. The below (wrong) mod fixes this. Lars, you know how to do it correctly :-) // just an idea of me if (!pos) { tmp->params().lineTop(params().lineTop()); tmp->params().pagebreakTop(params().pagebreakTop()); tmp->params().spaceTop(params().spaceTop()); tmp->bibkey = bibkey; clear(); // layout stays the same with latex-environments if (flag) { layout(tmp->layout()); setLabelWidthString(tmp->params().labelWidthString()); params().depth(tmp->params().depth()); } else layout("Standard"); <-- Fix } Martin
msg33981/pgp00000.pgp
Description: PGP signature