]> git.lyx.org Git - lyx.git/commitdiff
This hack is not needed any more and it is a _huge_ gain.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 12 Nov 2006 08:47:49 +0000 (08:47 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 12 Nov 2006 08:47:49 +0000 (08:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15871 a592a061-630c-0410-9148-cb99ea01b6c8

src/cursor.C

index e2285a8b18b34d9f41c3a2e4a00fed1dab348457..42a0c7cf1bfcc318e985ed8121705f6202d45f5e 100644 (file)
@@ -900,9 +900,6 @@ int LCursor::targetX() const
 
 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(bv(), bottom().pit());
        int x;
        int y;
        getPos(x, y);