2005-07-15 <lgb@tandberg.net>
+ * paragraph_funcs.C (breakParagraph): dont reset the layout on
+ keepEmpty paragraphs
+
* text.C (setCursorFromCoordinates): add a debug statement
* text2.C (getColumnNearX): bug 1825 make sure that we don't
return;
}
- par.params().clear();
-
- par.layout(bparams.getLyXTextClass().defaultLayout());
-
+ if (!isempty) {
+ par.params().clear();
+ par.layout(bparams.getLyXTextClass().defaultLayout());
+ }
+
// layout stays the same with latex-environments
if (flag) {
par.layout(tmp->layout());