| Summary: | Reindenter Select Case Formatting | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Andrea <a.merry.giraffe> |
| Component: | Photran.Refactoring Engine | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | com-eclipse-dot-org, hammonds.john9, paramvir.singh, rajashekharma, rockmylife |
| Version: | unspecified | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
This is not a PTP issue. Please move to the correct product. This is fixed in 7.0/HEAD |
The Reindenter class blocks the body of a select case at the same indentation level like this: SELECT CASE (selector) CASE (label-list-1) statements-1 CASE (label-list-2) statements-2 CASE (label-list-3) statements-3 ............. CASE (label-list-n) statements-n CASE DEFAULT statements-DEFAULT END SELECT The desired format would be the following: SELECT CASE (selector) CASE (label-list-1) statements-1 CASE (label-list-2) statements-2 CASE (label-list-3) statements-3 ............. CASE (label-list-n) statements-n CASE DEFAULT statements-DEFAULT END SELECT