Project: JDT
Bug 424852 [create on paste] Respect line delimiter preference when creating new CU
Reported: 2014-01-03 11:59:13 | Status: resolved fixed

Respect the line delimiter preference when creating a new CU by pasting to the Package Explorer. Currently, we use the line delimiter from the clipboard, which may not be the same as the project preference.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java