I have noticed that block folding behaves differently in 10.7 when using HTML bundle in PHP environment.
The code below behaves in 10.6.8 as it should, folding properly, but in 10.7 it has somehow begun to take notice of the "array(" and starting to mess up the rest of the folding.
<?php class dummy { private $var = array( "key" => "value" ); function function1() {
} function function2() { } } ?>
On 2 Aug 2011, at 12:47, Juuso Piikkilä wrote:
I have noticed that block folding behaves differently in 10.7 when using HTML bundle in PHP environment.
What you are seeing is this commit: https://github.com/textmate/html.tmbundle/commit/fbe401471d985ee2907f8280731...
It seems to expect arrays to be terminated by ‘),’ (not ‘);’). I see Michael was responsible for pulling this commit, so I’ll bug him about it.
On Aug 3, 2011, at 10:42 AM, Allan Odgaard wrote:
I have noticed that block folding behaves differently in 10.7 when using HTML bundle in PHP environment.
What you are seeing is this commit: https://github.com/textmate/html.tmbundle/commit/fbe401471d985ee2907f8280731...
It seems to expect arrays to be terminated by ‘),’ (not ‘);’). I see Michael was responsible for pulling this commit, so I’ll bug him about it.
Pushed a fix for this:
https://github.com/textmate/html.tmbundle/commit/35aabb119b980c44dddbcf0db0e...