| Summary: | Indent line fails when function returns pointer (ctrl+i) | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Filip Gustafsson <filip.gustafsson> |
| Component: | cdt-editor | Assignee: | Project Inbox <cdt-editor-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | minor | ||
| Priority: | P3 | CC: | yevshif |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 334805 *** |
Build Identifier: M20100211-1343 When a functions returns a pointer the indent line is moving the braces to the right when pressing ctrl+i instead of indenting it correct. Reproducible: Always Steps to Reproduce: 1.Create a c project in CDT 2.Create a function that returns a pointer and with a brace on next line. 3.Press ctrl+i on the line with the brace. int* method() { //press ctrl + i here } It works when it is not a pointer like this: int method() { //press ctrl + i here }