]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.C
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
[lyx.git] / src / rowpainter.C
index deaf1d7209aec39ccd18a5c0a7e9338b12f80892..bdd1f6bcf13e70cafc70b2da64e7789cf771dd3e 100644 (file)
@@ -363,7 +363,7 @@ void RowPainter::paintChangeBar()
        pos_type const start = row_.pos();
        pos_type const end = row_.endpos();
 
-       if (start == end || !par_.isChanged(start, end - 1))
+       if (start == end || !par_.isChanged(start, end))
                return;
 
        int const height = text_.isLastRow(pit_, row_)