]> git.lyx.org Git - features.git/blobdiff - src/cursor.C
Move BufferView cached pointer out of LyXText:
[features.git] / src / cursor.C
index e63050cf7db7fcf06d04a33111c200e32cb158c3..1d6e67442af467e3c4480fae42127bbcc054509f 100644 (file)
@@ -902,7 +902,7 @@ void LCursor::setTargetX()
 {
        // For now this is good enough. A better solution would be to
        // avoid this rebreak by setting cursorX only after drawing
-       bottom().text()->redoParagraph(bottom().pit());
+       bottom().text()->redoParagraph(bv(), bottom().pit());
        int x;
        int y;
        getPos(x, y);