]> git.lyx.org Git - features.git/commitdiff
This commit re-enable the table adjustment with screen whenever the table is bigger...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 20 Oct 2006 16:33:41 +0000 (16:33 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 20 Oct 2006 16:33:41 +0000 (16:33 +0000)
I believe that it is for horizontal
"scrolling": If you have a table that is wider than the screen and you go
to a cell that is at the right edge then, if you are lucky, the table is
shifted to the left so that you can edit the cell and even go further
right. This does however not work reliably.
If I am right then the variable name scx_ would make some sense: sc for
scrolling. The ChangeLog comments also seem to point in this direction. And
most of them were done by Jürgen Vigna who is AFAIK in Denmark.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15414 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insettabular.C

index 5b12c948ac9b77f02d42d1bf3a39219a7b4246e3..ba2e241cfc78541b6cf5c7fb20f88824cf3dafa3 100644 (file)
@@ -316,7 +316,7 @@ void InsetTabular::draw(PainterInfo & pi, int x, int y) const
        static lyx::frontend::NullPainter nop;
        static PainterInfo nullpi(bv, nop);
 
-       //resetPos(bv->cursor());
+       resetPos(bv->cursor());
 
        x += scx_;
        x += ADD_TO_TABULAR_WIDTH;