[EMAIL PROTECTED] wrote:
Author: sanda
Date: Tue Feb 19 22:27:18 2008
New Revision: 23068

URL: http://www.lyx.org/trac/changeset/23068
Log:
Update cursor and scrollbar after resize.
Fixes bug 4044.

Modified:
    lyx-devel/trunk/src/BufferView.cpp

Modified: lyx-devel/trunk/src/BufferView.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/BufferView.cpp?rev=23068
==============================================================================
--- lyx-devel/trunk/src/BufferView.cpp (original)
+++ lyx-devel/trunk/src/BufferView.cpp Tue Feb 19 22:27:18 2008
@@ -1373,6 +1373,7 @@
                updateScrollbar();
                showCursor();
        }
+       processUpdateFlags(Update::Force | Update::FitCursor);

This means that the screen will jump to the cursor location in case of a resize. Are we sure this is what we want? (I have no strong opinion either way).

Abdel.

Reply via email to