John Levon <[EMAIL PROTECTED]> writes: >> > LyX (at least 1.1.6 [GM]) still won't let you press >> > "return" on an empty Section (or whatever), BUT you can edit the text >> > to be empty, and it will stay there. >> >> I normally write the following paragraph first, then move up and insert >> the empty paragraph (e.g. the section) and finally move down again (as >> the cursor keys work) to continue writing. Still, a fix to this unwanted >> behaviour is on top of my personal lyx wishlist. > | If this is the case why on earth didn't you open a bug ?!
Why is it a bug? From what version do we have this as an regression? Document it and call it a feature. | Anyway I've had a very quick look at this. The first part is easy, in | text.C:breakParagraph() > | 1704 // if we don't keep empty text, don't allow a break | 1705 if (!layout.keepempty && par->size() < 1 | 1706 && layout.labeltype != LABEL_SENSITIVE) { | 1707 return; | 1708 } > | Now the behaviour is that when you press return on a keepempty section, | for example, the new par is inserted /above/ the section. The code is | kind of hard to follow around this area: any hints anybody ? > | Guenter - open a bug on bugzilla.lyx.org :) > | regards | john > | p.s. I've noticed we missed the nadir point of releasing pre1 and the | bugs are growing again :( Only because you don't have the guts to say "WONTFIX" -- Lgb