Page 1 of 1

Roll-up (or hide) sections of code displayed on screen

Posted: Tue Jan 15, 2013 2:18 am
by revcapdrjohn
It would be great to be able to roll-up or hide sections of code displayed on screen. I have used editors in the past that allowed this and it was a very convenient way to look through busy code.

Operation: a block of code is selected, then "rolled-up" so that only the first line is displayed and the rest of the code is hidden. A mark indicates that there is rolled-up code. A section may be "unrolled" at anytime and when a search finds a match in a rolled-up section, the section is automatically "unrolled" and displayed. There would be a global roll-up/unroll-up command and individual options. Rolling-up is only a display option has no effect on what is saved for a compiler.

Posted: Tue Jan 15, 2013 7:46 am
by ak47wong
Search the forums for "code folding". It's been requested for more than 10 years.