Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 387783

Summary: DefaultScope not used when calculating line delimiter
Product: [Eclipse Project] Platform Reporter: Szymon Ptaszkiewicz <sptaszkiewicz>
Component: ResourcesAssignee: Szymon Ptaszkiewicz <sptaszkiewicz>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.2   
Target Milestone: 4.3 M3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 388004    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Szymon Ptaszkiewicz CLA 2012-08-22 09:06:32 EDT
In bug 287579 it turned out that LineDelimiterEditor does not consult the DefaultScope when calculating default line delimiter for new files. We should also add DefaultScope as a 4th step in org.eclipse.core.internal.utils.FileUtil.getLineSeparator(IFile).
Comment 1 Szymon Ptaszkiewicz CLA 2012-10-17 07:58:14 EDT
Created attachment 222466 [details]
Patch