The so-far-vapour (well, not really -- there are betas and maybe even NT ports at everybody's favorite site, vim.org) vim version 6 is supposed to bring code 'folding' which would do exactly what the poster was looking for.
Philosophy can be made out of anything -- or less
Comment on RE: Re: Text editor with collapsible braces??