[Lazarus] Find/Replace inside IFDEF FPC else

noreply at z505.com noreply at z505.com
Thu Jun 29 12:46:46 CEST 2017


On 2017-06-28 02:37, Michael Van Canneyt via Lazarus wrote:
> 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.
> 

Hrm, the issue does not show up any more today but acted that way the 
other day. I'll have to figure out when it is being caused... and file a 
bug report if necessary
I was searching and replacing for "0010" AFAIR, and it found all 
instances inside the IFDEF fpc but not in the else section. But now that 
I try it, it works today. Strange.

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

Please explain what the reanimation department is:
- the ability to revive a dead non animated person
- the department that takes slow moving people and animates them again 
at a good pace
- reincarnation (possible Dutch/English translation bug: animation = 
life)
- a reference to something else


More information about the Lazarus mailing list