>>>>> "Matthew" == M Clemence <[EMAIL PROTECTED]> writes:
Matthew> Resizing the window with a large document (eg the tutorial
Matthew> section of the documentation) causes lyx to not keep up with
Matthew> geometry changes, often leading to misplaced/absent
Matthew> scrollbars.
That's strange, I do not see this one.
Matthew> Changing the layout from portrait to landscape doesn't seem
Matthew> to reset the paper margins. The result is difficult to
Matthew> describe but not what I expect, i.e. text filling the a4
Matthew> landscape area.
Matthew> In a table, once a cell has been extended by typing a return
Matthew> or hard- return in a cell, that cell cannot be reshrunk by
Matthew> deleting the blank lines. I realise this has no effect on the
Matthew> printed version, but ot does lead to some strange looking
Matthew> pages in a heavily edited text. #
Unfortunately, the author of this part of the code is in vacation
currently, so I can't comment much on these two problems...
Matthew> I have just realised reading this, that I say something
Matthew> similar with one of my own software projects when moving over
Matthew> to ecgs instead of gcc. It appears to be far less tolerant of
Matthew> un initilised pointers. For some reason, it seems far less
Matthew> likely to get a zero in unitilised data than before - the
Matthew> change has led to me finding quite a few new pointer
Matthew> bugs. Does anyone use egcs for developement on lyx ?
I'm not sure, because purify (under Solaris 2.5) does not detect
uninitialized pointers. It does in fact detect two uninitialized
variables in the math editor, but these are not pointers. Could you
(and Jochen) test whether the appended patch makes a difference? Note
this this has not been commited to cvs yet, since I do not know how
useful it can be.
JMarc
Index: src/math_defs.h
===================================================================
RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/math_defs.h,v
retrieving revision 1.2
diff -u -r1.2 math_defs.h
--- math_defs.h 1998/12/09 01:50:13 1.2
+++ math_defs.h 1999/01/19 05:15:45
@@ -414,7 +414,12 @@
struct MathedRowSt {
///
MathedRowSt(int n) {
- w = new int[n+1]; // this leaks
+ asc = 0;
+ desc = 0;
+ y = 0;
+ w = new int[n+1]; // this leaks
+ for (int i=0 ; i<n+1 ; i++)
+ w[i] = 0;
next = 0;
label = 0;
numbered = true;