fix infinite redraws of tables

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5777 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-12-04 14:51:16 +00:00
parent 1c708c3b8b
commit 6e8e747903
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-11-20 Juergen Vigna <jug@sad.it>
* insettabular.C (resetPos): temporary fix for endless loop in
this function on a redraw.
2002-10-14 Juergen Vigna <jug@sad.it> 2002-10-14 Juergen Vigna <jug@sad.it>
* insettext.C (localDispatch): remove double setUndo in Cut/Delete/ * insettext.C (localDispatch): remove double setUndo in Cut/Delete/

View File

@ -1539,7 +1539,7 @@ void InsetTabular::resetPos(BufferView * bv) const
#warning This should be fixed in the right manner (20011128 Jug) #warning This should be fixed in the right manner (20011128 Jug)
#endif #endif
// fast hack to fix infinite repaintings! // fast hack to fix infinite repaintings!
if (in_reset_pos > 10) if (in_reset_pos > 0)
return; return;
int cell = 0; int cell = 0;

View File

@ -65,6 +65,9 @@ What's new
- fix lockup when changing the layout of several paragraphs at the - fix lockup when changing the layout of several paragraphs at the
same time (and the layout of the first paragraph is already correct) same time (and the layout of the first paragraph is already correct)
- fix possible endless repainting when a tabular is larger than the
workarea
- fix bug with graphics files which name contain a '.' - fix bug with graphics files which name contain a '.'
- fix bug in the xforms image loader, where images would be cropped by - fix bug in the xforms image loader, where images would be cropped by
@ -79,7 +82,7 @@ What's new
eqnarray environment eqnarray environment
- fix bug where \limits statements (as obtained in math with M-m l) - fix bug where \limits statements (as obtained in math with M-m l)
would not be read back from the lyx file. would not be read back from the lyx file
- do not output labels in latex when numbering is off - do not output labels in latex when numbering is off