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

Bug 94991

Summary: Support new default line separator API in code that creates text files.
Product: [Eclipse Project] JDT Reporter: Mike Wilson <Mike_Wilson>
Component: UIAssignee: Tobias Widmer <tobias_widmer>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P2    
Version: 3.1   
Target Milestone: 3.1 RC1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 3970    
Bug Blocks:    

Description Mike Wilson CLA 2005-05-12 12:24:50 EDT
Now that the preference to describe the default line separator and API to get the possible choices have 
been implemented (see bug #3970), we need to ensure that JDT code that creates new (user) text files 
respects this.

(I'm not sure if this belongs in JDT UI, JDT Core, or both.)
Comment 1 Mike Wilson CLA 2005-05-12 12:28:39 EDT
Note that this is on the high priority polish items list for R3.1.
Comment 2 Dirk Baeumer CLA 2005-05-16 13:21:55 EDT
Tobias, this should be easy for use since all code goes now through one single
method ;-).
Comment 3 Dani Megert CLA 2005-05-19 12:55:09 EDT
I've filled in the necessary code that gets the line delimiter from the project
and workspace preferences.
Comment 4 David Saff CLA 2005-05-27 04:55:25 EDT
Verifying...
Comment 5 David Saff CLA 2005-05-27 04:59:06 EDT
Verified in I20050527-0010.  Tobias, please update resolution.