From: Richard Kimberly Heck Date: Wed, 8 Apr 2020 20:40:39 +0000 (-0400) Subject: Fix bug #11817. X-Git-Tag: 2.3.5~67 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=12649348989e7ff50e5038f3dd2a532d41d13892;p=features.git Fix bug #11817. Preserve line spacing when breaking a paragraph at the beginning. (cherry picked from commit f7065fa22ece25f72107dfa9c78e21a250153514) --- diff --git a/src/Text.cpp b/src/Text.cpp index 6e81268cae..c961a43e47 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -693,6 +693,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 diff --git a/status.23x b/status.23x index 22a4f6d72f..f15bfef153 100644 --- a/status.23x +++ b/status.23x @@ -95,6 +95,9 @@ What's new - Disallow adding columns with gathered environment as this is not supported (bug 11812). +- Preserve paragarph spacing when breaking a paragraph at the start + (bug 11817). + * INTERNALS