in reply to Can your editor do this?
look at Komodo from Activestate. It allows for code folding along with much much more. It's available for Wintel platforms and there's a technology preview for Linux. I curently use the Windows version for scripts on Win platforms along with using Samba to export unix disk space via netbios. It's worth a look at least.