| Summary: | Double "toggle comment" command does not uncomment the selected lines. | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ilina Stefanova <ilina.s> |
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | silviya, zhaozhongwei |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
fixed in head Verified. Ilina Stefanova |
Steps: Select some lines in a php file on the editor and try to toggle comment them (press "apple key + /"). Repeat this action. // function row_color($i) // { // $bgcolor1 = "white"; // $bgcolor2 = "yellow"; // if ( ($i % 2) == 0 ) { // return $bgcolor1; // } else { // return $bgcolor2; // } // } Expected Result: The text should be uncomment: function row_color($i) { $bgcolor1 = "white"; $bgcolor2 = "yellow"; if ( ($i % 2) == 0 ) { return $bgcolor1; } else { return $bgcolor2; } } Actual Result: The comment becomes double: //// function row_color($i) //// { //// $bgcolor1 = "white"; //// $bgcolor2 = "yellow"; //// if ( ($i % 2) == 0 ) { //// return $bgcolor1; //// } else { //// return $bgcolor2; //// } //// }