[Lazarus] Extended Feature, inactive IFDEF: Quick fold all inactive ifdef

Martin lazarus at mfriebe.de
Tue Sep 10 23:31:55 CEST 2013


Just right click the foldgutter (the small vertical space containing the 
[+] and [-])

And select "Fold inactive IFdef"




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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130910/0de9372e/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dgegbjdb.png
Type: image/png
Size: 3660 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130910/0de9372e/attachment-0002.png>


More information about the Lazarus mailing list