Hi,

Daniel Naber send in a patch to KLyX to find forward on each replace in the
Find&Replace dialog. We sent that patch to Matthias to judge wether we want to
put it in or not. ( It seems he is still thinking :-)

What do you think about that feature ?

I send a patch against current lyx-1_0_x repository here:

Index: src/lyxfr1.C
===================================================================
RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/lyxfr1.C,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 lyxfr1.C
--- lyxfr1.C    1998/10/26 22:18:29     1.1.1.1
+++ lyxfr1.C    1999/01/08 13:56:00
@@ -163,6 +163,9 @@
        current_view->currentBuffer()->text->
                SetSelectionOverString(replacestring.c_str());
        current_view->currentBuffer()->update(1);
+
+       // jump to next match:
+       SearchCB(true);
 }


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
-----------------------------------------------------------------------

Reply via email to