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

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
revcapdrjohn
Posts: 1
Joined: Tue Jan 15, 2013 2:05 am

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

Post 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.
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

Search the forums for "code folding". It's been requested for more than 10 years.
Post Reply