On Tue, 10 Sep 2013 22:31:55 +0100
Martin <[email protected]> wrote:

> Just right click the foldgutter (the small vertical space containing the 
> [+] and [-])
> 
> And select "Fold inactive IFdef"

I only see one menu item "Hide comments".
The inactive IFDEFs have no folder icon in the gutter.

 
> Note:
> 
> 1) single line entries can not fold
> a:= {$IFDEF Foo} @{$ENDIF}MyMethood
> 
> 2) if you have code after the EndIf of a multi-line ifdef, then this 
> code will be in the fold too
> 
>   {$IFDEF Foo}
>    // code here
>   {$ENDIF}  // more code on this line

Mattias
 

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to