commit f7065fa22ece25f72107dfa9c78e21a250153514
Author: Richard Kimberly Heck <[email protected]>
Date:   Wed Apr 8 16:40:39 2020 -0400

    Fix bug #11817.
    
    Preserve line spacing when breaking a paragraph at the beginning.
---
 src/Text.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Text.cpp b/src/Text.cpp
index 4a44757..1820f05 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -723,6 +723,7 @@ static void breakParagraph(Text & text, pit_type 
par_offset, pos_type pos,
 
                tmp->params().depth(par.params().depth());
                tmp->params().noindent(par.params().noindent());
+               tmp->params().spacing(par.params().spacing());
 
                // move everything behind the break position
                // to the new paragraph
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to