]> git.lyx.org Git - features.git/commitdiff
Fix bug #11817.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Wed, 8 Apr 2020 20:40:39 +0000 (16:40 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:55 +0000 (15:48 +0200)
Preserve line spacing when breaking a paragraph at the beginning.

src/Text.cpp

index 4a447577f22c9e91d0139a739525d3a276f1538c..1820f0548be9def237c7540673dc62e64e6e00d8 100644 (file)
@@ -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