"Dr. Richard E. Hawkins" <[EMAIL PROTECTED]> writes: | I used insert lyx file to insert another file into an appendix. It | wiped out *everything* but the new file! Undo gave me back only the | most recent paragraph upon which I was working. | | Fortunately, I had just saved. | | hawk, heart still pounding
Ooops... I belive this is the fix:
Index: src/buffer.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v retrieving revision 1.396 diff -u -p -r1.396 buffer.C --- src/buffer.C 13 Jan 2003 10:52:17 -0000 1.396 +++ src/buffer.C 16 Jan 2003 21:06:50 -0000 @@ -1216,7 +1216,7 @@ bool Buffer::readFile(LyXLex & lex, stri istringstream is(STRCONV(ret.second)); LyXLex tmplex(0, 0); tmplex.setStream(is); - return readFile(tmplex, string()); + return readFile(tmplex, string(), par); } else { // This code is reached if lyx2lyx failed (for // some reason) to change the file format of
Can you please check if that is the case. (And if it is not the correct fix, it is still a serious bug.) (I know who the culpist is...) -- Lgb