]> git.lyx.org Git - lyx.git/commitdiff
Don't ask me why but the cursor x position hack is not needed anymore following my...
authorAbdelrazak Younes <younes@lyx.org>
Sun, 12 Nov 2006 08:39:11 +0000 (08:39 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 12 Nov 2006 08:39:11 +0000 (08:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15870 a592a061-630c-0410-9148-cb99ea01b6c8

src/bufferview_funcs.C

index 1ad64cb27cb71132b5a797e3585b8ec6732f94bd..d5dec9c6c60f0996e677bf65fddae6a372449841 100644 (file)
@@ -195,9 +195,7 @@ Point coordOffset(BufferView const & bv, DocIterator const & dit,
                y += par.rows()[rit].height();
        y += par.rows()[rend].ascent();
        x += dit.bottom().text()->cursorX(*bv.buffer(), dit.bottom(), boundary && dit.depth() == 1);
                y += par.rows()[rit].height();
        y += par.rows()[rend].ascent();
        x += dit.bottom().text()->cursorX(*bv.buffer(), dit.bottom(), boundary && dit.depth() == 1);
-       // FIXME: The following correction should not be there at all.
-       // The cursor looks much better with the +1, though.
-       ++x;
+
        return Point(x, y);
 }
 
        return Point(x, y);
 }