Bug 3239 - CodeFormatter: need to be able to set linedelimiter used (1GC0LFK)
Summary: CodeFormatter: need to be able to set linedelimiter used (1GC0LFK)
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:51 EDT by Martin Aeschlimann CLA
Modified: 2002-09-23 04:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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