From: Edwin Leuven Date: Wed, 25 Oct 2006 09:20:07 +0000 (+0000) Subject: add fixme for cursor positioning X-Git-Tag: 1.6.10~12195 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6b20411c6af38129deb66df8f23371ac233ec76e;p=lyx.git add fixme for cursor positioning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15544 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index f383e574e0..d8d0c10965 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -599,6 +599,9 @@ void GuiWorkArea::expose(int x, int y, int w, int h) void GuiWorkArea::showCursor(int x, int y, int h, CursorShape shape) { + // FIXME: the BufferView (via Cursor) should provide the correct positioning + // for the moment we put the cursor 2 pixels to the right + //cursor_->setGeometry(x, y, 2, h); cursor_->setGeometry(x + 2, y, 2, h); cursor_->shape_ = shape; cursor_->on_ = true;