WorkArea.cpp: fix cursor placement by updating the cursor position;

fixes http://bugzilla.lyx.org/show_bug.cgi?id=3873
patch from Stefan

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18799 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-06-15 23:52:01 +00:00
parent 97280b92c1
commit 1f1d5788bc

View File

@ -144,6 +144,13 @@ void WorkArea::redraw()
updateScrollbar(); updateScrollbar();
// update cursor position, because otherwise it has to wait until
// the blinking interval is over
if (cursor_visible_) {
hideCursor();
showCursor();
}
ViewMetricsInfo const & vi = buffer_view_->viewMetricsInfo(); ViewMetricsInfo const & vi = buffer_view_->viewMetricsInfo();
greyed_out_ = false; greyed_out_ = false;