Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Can you define code folding "up to but not including" a token?

I want to define code folding for a standard "if...elseif...else...end"  set. I want folding on each elseif to collapse the lines underneath it, but not the next elseif/else statement - because that way you can't see the test that controls the next set of code. I can define code folding for else(if)s, but it always hides the line that contains the end of the block, i.e. hiding the next test. I want the folding to not include the next test.


Sign In or Register to comment.