[Lazarus] Find/Replace inside IFDEF FPC else

Michael Van Canneyt michael at freepascal.org
Wed Jun 28 09:37:50 CEST 2017



On Wed, 28 Jun 2017, Mattias Gaertner via Lazarus wrote:

> On Tue, 27 Jun 2017 22:46:55 -0500
> Lars via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> When I use the find/replace dialogs, and search for text, it does not 
>> search inside the else section of {IFDEF FPC}. I assume this is a 
>> feature. However some times I want to replace text inside delphi code 
>> that is outside the IFDEF FPC and in the ELSE section?
>
> Find/Replace works on the text of the active source editor, it does not
> parse for $IFDEFs.

Glad you mention this, I was almost on the way to the reanimation department
of the nearest hospital...

Michael.


More information about the Lazarus mailing list