[Lazarus] Extended Feature, inactive IFDEF: Quick fold all inactive ifdef
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Sep 11 10:18:41 CEST 2013
On Tue, 10 Sep 2013 22:31:55 +0100
Martin <lazarus at mfriebe.de> 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
More information about the Lazarus
mailing list