Faulty Folding of Function when } has been commented out
Hi Guys, (or Girls… whomever reads this)
Wanted to know if anybody else noticed this one:
Paste the following in a new sheet, set the language to c# and use the fold/unfold functions. You will see it still recognises the //} even though it has been commented out. I dont believe that is correct, so i wanted to let you know.
You might want to put some tabs and additional line breaks in it for clarity when you are testing.
Short answer, its not a bug, it is a feature. You can define custom code fold points by using