]> git.lyx.org Git - features.git/blobdiff - src/rowpainter.C
Anchor globalization
[features.git] / src / rowpainter.C
index f77fd189153d2266520f5d07a2db745f2b5bd43a..12b40d365a8fdecaf7061b0d2dcc50834651a306 100644 (file)
@@ -132,7 +132,7 @@ RowPainter::RowPainter(BufferView const & bv, LyXText const & text,
                paintBackground();
 
        // paint the selection background
-       if (text_.selection.set() && &text_ == bv_.cursor().innerText())
+       if (text_.selection.set() && &text_ == bv_.fullCursor().innerText())
                paintSelection();
 
        // vertical lines for appendix