mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
bug 313 dont reset the layout on keepEmpty paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10208 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8355663e97
commit
aa97bf0866
@ -1,5 +1,8 @@
|
||||
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
|
||||
|
@ -168,10 +168,11 @@ void breakParagraph(BufferParams const & bparams,
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user