commit bbe7b84f3bea024f3b7eeb859a1f9c5d27ebd7c3
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Thu May 23 10:59:49 2019 +0200
Reset change bar information when breaking row
This is a much less invasive version of da2696cc+da2696cc, which
reduces the risk to a minimum. There may be other Row members that
need resetting, we'll see that later.
Fixes bug #11396.
---
src/TextMetrics.cpp | 1 +
status.23x | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp
index cacf2e7..46c661d 100644
--- a/src/TextMetrics.cpp
+++ b/src/TextMetrics.cpp
@@ -836,6 +836,7 @@ bool TextMetrics::breakRow(Row & row, int const
right_margin) const
row.clear();
row.left_margin = leftMargin(row.pit(), pos);
row.right_margin = right_margin;
+ row.needsChangeBar(false);
if (is_rtl)
swap(row.left_margin, row.right_margin);
// Remember that the row width takes into account the left_margin
diff --git a/status.23x b/status.23x
index e893071..7bd3ebb 100644
--- a/status.23x
+++ b/status.23x
@@ -213,6 +213,10 @@ What's new
- Get rid of spurious empty entry in list of equations when creating new
formula (bug 11423).
+- Handle some cases where the change bar in the margin did not get updated
+ (bug 11396).
+
+
* INTERNALS