commit 49255788ea155a8b7a0dab8e8e69ce1219c11084
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Thu May 23 11:30:35 2019 +0200

    Always paint text decoration when painting inset.
    
    Fixes bug #11402.
    
    (cherry picked from commit 621c908f85650cc086b1d155062885eba016d1fa)
---
 src/RowPainter.cpp |    2 +-
 status.23x         |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp
index 3f367ce..cc3ea89 100644
--- a/src/RowPainter.cpp
+++ b/src/RowPainter.cpp
@@ -118,6 +118,7 @@ void RowPainter::paintInset(Row::Element const & e) const
        e.inset->drawBackground(pi_, x1, yo_);
        e.inset->drawSelection(pi_, x1, yo_);
        e.inset->draw(pi_, x1, yo_);
+       paintTextDecoration(e);
 
        // Restore full_repaint status.
        pi_.full_repaint = pi_full_repaint;
@@ -585,7 +586,6 @@ void RowPainter::paintText()
 
                case Row::INSET:
                        paintInset(e);
-                       paintTextDecoration(e);
                        break;
 
                case Row::SPACE:
diff --git a/status.23x b/status.23x
index 7bd3ebb..3d5481a 100644
--- a/status.23x
+++ b/status.23x
@@ -216,6 +216,7 @@ What's new
 - Handle some cases where the change bar in the margin did not get updated 
   (bug 11396).
 
+- Handle some cases where underline across insets did not painted (bug 11402).
 
 
 * INTERNALS

Reply via email to