Attached patch (+ full file) adds support for folding:
* PHP multi-line comments (ref: #2130579)
* PHP HEREDOC/NOWDOC strings (ref: #1945003)
I'm not sure it's a good idea to modify levelCurrent after the folding code near the beginning of the colourise loop (which only triggers on line breaks). But in my tests, the patch has not caused any problems.
Log in to post a comment.