On 6. Oct 2006, at 22:12, David Clark wrote:
I have been surprised that for the following: switch ( $x ) { case 'Add': [...] one can only fold the entire switch, and not each case.
would this be too hard to implement?
You can wrap the body of each case in { … } to get foldings or alternative add case + break as fold start/stop markers for the PHP/ HTML grammar.