Page 2 of 2

Posted: Fri Aug 17, 2007 7:31 pm
by Trond
Would it be possible to also disable folding inside CompilerIf?

Code: Select all

; Folding doubles
CompilerIf 0
  Procedure Test0()
CompilerElse
  Procedure TestX()
CompilerEndIf
EndProcedure

Posted: Fri Aug 17, 2007 11:16 pm
by freak
If the folding inside the CompilerIf is ignored, then we have one too many "fold close" because
of the EndProcedure which is outside.

The way I solve this kind of thing is by putting a ;} (which is defined as "fold close" by default)
behind one of the Procedure lines which corrects the folding again.