Community
Participate
Working Groups
Build Identifier: 20100917-0705 folded PHP functions that contain JavaScript code automatically open when any key is pressed. Reproducible: Always Steps to Reproduce: 1. create a php-file containing the following code: <?php function test1() { ?> <script type="text/javascript"> </script> <?php } function test2() { } 3. Fold both functions test1() and test2(). 4. Place the cursor at the end of the file, then press RETURN. Now, the <script>-block inside test1() is partially open. Also, the cursor now is at a different position.
I found the reason for this bug is if the function contains expanded folding html tag, then it will be happend. Furthermore, I found anther bug for HTML folding in PHP editor, I will report it later.