Bug 3239

Summary: CodeFormatter: need to be able to set linedelimiter used (1GC0LFK)
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: All   
OS: Windows NT   
Whiteboard:

Description Martin Aeschlimann CLA 2001-10-10 22:51:49 EDT
MA (11.04.01 12:45:17)
	When formatting I need to be able to define which line delimiter is used.
	I would expect the code formatter to then use this delimiter for whole range specified (replacing/removing other existing linedelimiters)
	
	A method CodeFormatter.format(text, initialIndent, lineDelimiter, options) would be what I need.
	

NOTES:

PM (4/11/2001 8:17:44 PM)
	Related to 1GBRPSJ: ITPJCORE:Options - should surface the code formatter options on JavaCore.
	There is an internal functionality you could use until it gets promoted.

		aCodeFormatter.options.setLineSeparator(String lineSeparator)
Comment 1 DJ Houghton CLA 2001-10-23 23:52:32 EDT
PRODUCT VERSION:
	0.043

Comment 2 Philipe Mulet CLA 2002-02-02 07:03:11 EST
Formatter issues are deferred post2.0
Comment 3 Philipe Mulet CLA 2002-07-25 06:30:51 EDT
Resurrecting formatter issues in 2.1 stream.
Comment 4 Philipe Mulet CLA 2002-07-25 06:32:39 EDT
Clearing resolution
Comment 5 Olivier Thomann CLA 2002-07-29 11:00:40 EDT
This is not a problem anymore since the API on ICodeFormatter allows to specify
the desired line separator.
Ok to close?
Comment 6 Martin Aeschlimann CLA 2002-08-05 05:03:52 EDT
closing
Comment 7 Philipe Mulet CLA 2002-09-23 04:45:24 EDT
Should have been tagged as closed.
Comment 8 Philipe Mulet CLA 2002-09-23 04:45:39 EDT
Closing