On Wed, 02 May 2007 11:49:00 -0400, Pauli Lindgren wrote:
>On 4/30/2007 3:03:18 PM, Christian Ziemski wrote:
>>This way the highlighted string should
>>be always included in the
>>search/replace and there are no
>>additional buttons or options needed.
>This would not be good idea for Search. If you are searching a highlighted
>word, you do not want to find the word you have already highlighted. In
>practice, this would look like the search didn't work at all.
Oops, yes, You are correct.
>If this would be implemented in Replace only, then the Search and Replace would
>not work the same way, which may cause confusion. But maybe that is not a
>problem, I don't know.
There seems to be some place for discussions about pros and cons. ;-)
>>>However, I would prefer a checkbox "wrap around".
>>As config option I would like that too.
>If that feature is added as config option, it should be in the dialog box, too.
The combination may be the best: The default is set by config option
and may be changed in every search dialog for that single run.
BTW: Introducing "wrapping" would have heavy influence on the macro
commands Search() and Replace() and their return codes too.
I'm afraid that would be not an easy change.