Some patches to LyX-1.1 needed for the find & replace stuff. ( JMarc, you forgot these, I guess :-) Btw. is it actually ok to put in Emacs Local Variables sections into the source ? I am not asking about the style, just wether it is ok in general. I don't need all files to look the same, but I get tired of manually adopting everybodies style. If emacs will do it for me, I would be fine with (almost) everything. I put in a section into the patch that matches the files style, I hope. Take it out if you don't want it. Greetings, Jochen ----------------------------------------------------------------------- Jochen K"upper Heinrich-Heine-Universit"at D"usseldorf [EMAIL PROTECTED] Institut f"ur Physikalische Chemie I Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D"usseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen -----------------------------------------------------------------------
Index: ChangeLog =================================================================== RCS file: /usr/local/lyxsrc/cvsroot/lyx/ChangeLog,v retrieving revision 1.34 diff -u -r1.34 ChangeLog --- ChangeLog 1999/02/05 13:27:09 1.34 +++ ChangeLog 1999/02/08 08:58:30 @@ -1,3 +1,7 @@ +1999-02-06 Jochen Küpper <[EMAIL PROTECTED]> + + * src/lyxfr1.h: JMarcs changes need the member searchForward as well. + Fri Feb 5 14:24:54 1999 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * src/include/Regexp.h: include sys/types.h Index: src/lyxfr1.C =================================================================== RCS file: /usr/local/lyxsrc/cvsroot/lyx/src/lyxfr1.C,v retrieving revision 1.3 diff -u -r1.3 lyxfr1.C --- lyxfr1.C 1999/02/05 13:27:22 1.3 +++ lyxfr1.C 1999/02/08 08:58:31 @@ -168,7 +168,7 @@ |BufferView::BufferChange); // jump to next match: - SearchCB( searchForward ); + SearchCB( view, searchForward ); } @@ -332,3 +332,10 @@ } return false; } + +/** + * Local Variables: + * mode: C++ + * c-file-style: "linux" + * End: + */ Index: src/lyxfr1.h =================================================================== RCS file: /usr/local/lyxsrc/cvsroot/lyx/src/lyxfr1.h,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 lyxfr1.h --- lyxfr1.h 1998/10/26 22:29:07 1.1.1.1 +++ lyxfr1.h 1999/02/08 08:58:31 @@ -34,6 +34,8 @@ /// Set by IsSearchStringInText: int iLenSelected; + bool searchForward; + /// bool SearchForward(LyXText *lt); /// @@ -52,4 +54,12 @@ /// returns true if the specified string is at the specified position bool IsSearchStringInText(LyXParagraph *par, int pos); }; + #endif + +/** + * Local Variables: + * mode: C++ + * c-file-style: "linux" + * End: + */