| Summary: | Inconsistent line endings for multi-line comments | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Josh Kelley <joshkel> |
| Component: | cdt-editor | Assignee: | Project Inbox <cdt-editor-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 289461 *** |
Build Identifier: 20100218-1602 When editing a source file with Windows-style line endings, multi-line C-style comments often create lines with Unix-style line endings. Reproducible: Always Steps to Reproduce: 1. Open a C or C++ source file that has Windows-style line endings. 2. On an empty line of source code that's not in the middle of a comment, type /*, then press Enter. Eclipse will automatically expand this to three lines of code: "/*", " *", and "*/". 3. Click the "Show Whitespace Characters" button in the toolbar, and note that the second line (" *") has no carriage return.