[TxMt] folding for php case
Allan Odgaard
throw-away-1 at macromates.com
Sun Oct 8 15:09:31 UTC 2006
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.
More information about the textmate
mailing list