| Summary: | Initial code folding for functions sometimes incorrect when the function contains html | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | tgross |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
fixed in head and branch [Petyo Tanchev] Tested on 2.2.1 SR1 Fixed |
Build Identifier: 20100617-1415 Some PHP functions, especially when they contain html, are not folded on opening the file, although "Initially fold these elements: Functions" in "Preferences / PHP / Editor / Code folding" is checked. Reproducible: Always Steps to Reproduce: 1. In Preferences / PHP / Editor / Code folding, activate "Enable folding" and "Initially fold these elements: Functions" 2. create a php-file containing the following code: <?php function showHead() { ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="en" /> </head> <?php } 3. Save and close the file, then open it. The function "showHead()" is NOT completely folded.