Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 300 forks source link

PHP Code Folding for alternate syntax not working #2398

Open latcomsystems opened 7 years ago

latcomsystems commented 7 years ago

Short Summary

Enjoying using Komodo Edit and currently evaluating and possibly purchasing the IDE. Having an issue with code folding in PHP. Standard syntax using braces {} folds very nicely. However, alternate syntax using colons and end verbs is not folding.

Steps to Reproduce

For example: if ($a == $b) : do something.... endif;

Another example:

for ($i = 0; $i < 10; $i++) : do something.... endfor;

Expected results

These should fold the same as if braces were used.

Actual results

No folding is available for alternate syntax.

Platform Information

Komodo Edit or IDE? Both Komodo Version? 10.2.1 Operating System (and version)? Windows 7 - 64 bit

Additional Information

komodoeditfoldingphp

mitchell-as commented 7 years ago

Thanks for the report.

mitchell-as commented 7 years ago

Note to self: Need to see if UDL can handle brace folding and keyword folding at the same time.