This patch should fix the lookup when a tabular cannot scroll to the
right location. This might have the effect that we're not always displaying
what we really want (but this is to be demonstarted), but surely that
is better then having a endless loop inside LyX.

          J�rgen

P.S.: This should also fix #615 (John's earlier mail bug 1 in it's list)

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. J�rgen Vigna        E-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 Steinegg        Web:     http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Index: src/insets/insettabular.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.231
diff -u -p -r1.231 insettabular.C
--- src/insets/insettabular.C   4 Nov 2002 02:12:34 -0000       1.231
+++ src/insets/insettabular.C   18 Nov 2002 14:21:20 -0000
@@ -1563,7 +1563,7 @@ void InsetTabular::resetPos(BufferView *
 #warning This should be fixed in the right manner (20011128 Jug)
 #endif
        // fast hack to fix infinite repaintings!
-       if (in_reset_pos > 10)
+       if (in_reset_pos > 0)
                return;
 
        int cell = 0;

Reply via email to