Topic: Search(,ADVANCE) bug? (1 of 2), Read 10 times
Conf: Error messages, Crashes
From: Daniel Bliss
Date: Friday, March 02, 2007 11:28 PM

Please see if you can reproduce this small bug...

The second search does not advance the edit position to the point just after the second ";".


search(";",SET|NOERR|ADVANCE)
search()

Here's a fragment of one line to be searched...
;Class;Permanently Restricted:Cemetery;

Thanks,
Dan Bliss

 


Topic: Re: Search(,ADVANCE) bug? (2 of 2), Read 10 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Saturday, March 03, 2007 03:58 PM

On Fri, 02 Mar 2007 23:28:00 -0500, Daniel Bliss wrote:

>The second search does not advance the edit position to the
>point just after the second ";".
>
>
>search(";",SET|NOERR|ADVANCE)
>search()
>
>Here's a fragment of one line to be searched...
>;Class;Permanently Restricted:Cemetery;

Daniel:

I don't think that's a bug.

Search() does exactly what you write: A simple "Search".
The options are not remembered by SET, only the search string.

You may use "Search(ADVANCE|NOERR)" to achieve what you want.


Christian