This hack is not needed any more and it is a _huge_ gain.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15871 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-11-12 08:47:49 +00:00
parent e5cdbb6a9d
commit 03d5a4adb7

View 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);