>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:

Martin> The slowness is really huge, so yes, that's what I think.

Martin> I didn't give up though... attached a modification of
Martin> bruteFind3 that does the three-paragraph trick. There is still
Martin> a slight delay, but it's much better now. Give it a try. My
Martin> feeling is that this is as risk-free as the workaround, but
Martin> not as ugly.

+               // Start of paragraph after next:
+               et.forwardPar(); 
+               et.forwardPar(); 
+               et.forwardPar();

This does not work if your paragraphs contain text insets (forwardPar
goes inside). What you need is something like 
  et.pit() += 3;
but some checking is needed for end of document.

JMarc

Reply via email to