Blizz wrote: |
Agreed. In combination with a little more detailed folding by default (if, for, foreach, while, ...) that would solve every "complaint" about the codefolding so far and would also save the NuSphere gents the effort of having to find something to store custom folds (if they were planning on doing so of course) |
The idea of storing folding information is one of the things I don't like about the current implementation (don't get me wrong, code folding in and of itself is so much better than no folding). I like the idea of being able to have the code read by other editors and understand that code should be folded at certain user defined regions, no matter which editor the code was created with. The only way to do that is to make a 'region' directive part of PHP language and/or failing that, define how comments should be formulated to indicate such a thing.