[Lazarus] Search dialog scope

Ondrej Pokorny lazarus at kluug.net
Thu Apr 7 10:55:58 CEST 2016


On 07.04.2016 9:34, Michael Van Canneyt wrote:
> Did something change in the search(&replace) dialog scope handling ?

I changed it a little bit to match Delphi's behavior. The reason is 
described here: http://mantis.freepascal.org/view.php?id=27039


> Since some time, I must alwas set the scope to "selection", and the 
> origin to
> 'beginning' manually. No matter where my cursor is.

Strange.

> I am pretty sure that before, if there is a nonempty selection, the 
> dialog
> would set these settings correct for me.

Yes, I remember that I changed the behavior so that scope is "selection" 
and origin "from the beginning" if there is a selection in the editor.
So exactly what you want to achieve.

> Did something change in this regard ? What is the 'rule' that is 
> followed by the dialog ?
>
> If something changed, can we please get the old behaviour back somehow ?

Hmmm, for me it works exactly what you want to have (I changed to this 
desired behavior).

Can you be more specific about what you are doing and what the IDE does?

Ondrej




More information about the Lazarus mailing list