From 12649348989e7ff50e5038f3dd2a532d41d13892 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Wed, 8 Apr 2020 16:40:39 -0400 Subject: [PATCH] Fix bug #11817. Preserve line spacing when breaking a paragraph at the beginning. (cherry picked from commit f7065fa22ece25f72107dfa9c78e21a250153514) --- src/Text.cpp | 1 + status.23x | 3 +++ 2 files changed, 4 insertions(+) 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