From: Abdelrazak Younes Date: Fri, 20 Oct 2006 16:33:41 +0000 (+0000) Subject: This commit re-enable the table adjustment with screen whenever the table is bigger... X-Git-Tag: 1.6.10~12307 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b23807ec0b2af25b82203138f84276fb65d7941e;p=features.git This commit re-enable the table adjustment with screen whenever the table is bigger than the screen. Here is some explanation form Georg about the setPos() method: 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 --- diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index 5b12c948ac..ba2e241cfc 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -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;