| Summary: | Enumerators disappear from outline after reconciling the editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Patrick Hofer <paedu.hofer> | ||||
| Component: | cdt-editor | Assignee: | Anton Leherbauer <aleherb+eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Anton Leherbauer <aleherb+eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 195658 [details]
fix
Good catch and perfect fix! Thank you! Committed to HEAD. *** cdt cvs genie on behalf of aleherbau *** Bug 345834 - Enumerators disappear from outline after reconciling the editor Patch by Patrick Hofer [*] CModelBuilder2.java 1.53 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CModelBuilder2.java?root=Tools_Project&r1=1.52&r2=1.53 |
1) To reproduce create the following code: enum EColors{ eRed, eGreen, eBlue }; 2) Check the Outline. There is the enum, but no plus sign and no enumerators. This is not ok. 3) Save and close the file. 4) Reopen the file. Now the plus sign and the enumerators are ok. 5) Edit anywhere in the file (just add a whitespace) 6) After reconciling the enumerators disappeared again.