| Summary: | folded functions are uncorrectly opened if they contain JavaScript code | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | tgross |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
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. |
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.