]> git.lyx.org Git - features.git/commitdiff
update when cursor leaves screen while navigating large tables using the arrows
authorEdwin Leuven <e.leuven@gmail.com>
Tue, 15 Mar 2011 08:54:46 +0000 (08:54 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Tue, 15 Mar 2011 08:54:46 +0000 (08:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37929 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index 948cad58d67dda2209224ef71a6b16ad1cec948c..de8a0fc3f8c3de8d11733007198cab9ae00294bd 100644 (file)
@@ -4005,6 +4005,8 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cmd = FuncRequest(finish_lfun);
                else
                        cur.dispatched();
+
+               cur.screenUpdateFlags(Update::FitCursor);
                break;
 
        }
@@ -4041,6 +4043,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cur.setCurrentFont();
                        return;
                }
+               cur.screenUpdateFlags(Update::FitCursor);
                break;
 
        case LFUN_UP_SELECT:
@@ -4074,6 +4077,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cur.setCurrentFont();
                        return;
                }
+               cur.screenUpdateFlags(Update::FitCursor);
                break;
 
 //     case LFUN_SCREEN_DOWN: {