Bug 16517 - Format selection loses ending line separator
Summary: Format selection loses ending line separator
Status: RESOLVED DUPLICATE of bug 12159
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-20 23:03 EDT by Nick Edgar CLA
Modified: 2002-05-21 09:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-05-20 23:03:44 EDT
Build 20020519

public class Test {
	public static void main(String[] args) {
		System.out.println("Hi");
	}
}

Select the whole System.out... line, including the line delimeter, but not 
the } brace.
Choose Format.
The } brace goes up to join it.
If the selection does not include the line delimeter, it works fine.
Comment 1 Nick Edgar CLA 2002-05-20 23:04:12 EDT
I had this happen in a bunch of real cases, not just the toy case above.
Comment 2 Olivier Thomann CLA 2002-05-21 09:49:17 EDT

*** This bug has been marked as a duplicate of 12159 ***