draw incomplete cursors

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9352 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2004-12-06 21:59:23 +00:00
parent b5e2e1a3b5
commit 3c696553ac
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,12 @@
2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
* screen.C (showCursor): draw half cursors
2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
* Painter.C: adjust * screen.[Ch] (fitCursor): remove,
* Painter.C: adjust
* screen.[Ch] (fitCursor): remove,
(showCursor): adjust, (redraw): adjust
2004-11-20 Lars Gullik Bjonnes <larsbj@gullik.net>

View File

@ -183,8 +183,8 @@ void LyXScreen::showCursor(BufferView & bv)
y -= ascent;
//lyxerr << "LyXScreen::showCursor x: " << x << " y: " << y << endl;
// if it doesn't fit entirely on the screen, don't try to show it
if (y < 0 || y + h > workarea().workHeight())
// if it doesn't touch the screen, don't try to show it
if (y + h < 0 || y >= workarea().workHeight())
return;
cursor_visible_ = true;