Let me just add this suggestion to code collapsing...
This is done by some other editors but I'm not sure I remember which ones.
when you have:
while()
{
stuff to be collapsed...
}
|
and you collapse it, the actual file text becomes:
while()
{{{
stuff to be collapsed...
}}}
|
The editor know that {{{ }}} blocks need to be displayed collapsed and { }blocks need to be displayed regularly.
This method of storing the collapsed areas makes it possible to store the collapsed sections in CVS for example.
Btw, those editors will also allow arbitraty collapses and store them like this:
// {{{
stuff to be arbitrary collapsed...
// }}} |