Bug 4086

Summary: Format problem in single element mode (1GKPJI8)
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: UIAssignee: Martin Aeschlimann <martinae>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Erich Gamma CLA 2001-10-10 23:05:49 EDT
EG (27.09.2001 12:32:36)
	from WSAD newsgoup
If you select Format (from the popup menu when you right click on .java
file) while in "View selected element only" mode (ie - looking at only one
method) the auot format adds a large amount of whitespace to the begining of
each line. Repeated "Formats" just add more space. You then have to go to
the "whole document" view and reformat the entire document to fix this
(well, I guess I could manual remove the whitespace, but then what's the
point of autoformat?).

NOTES:
EG (10.10.2001 22:38:03)
	pls investigate whether this is the formatting strategy or the Java editor
Comment 1 Martin Aeschlimann CLA 2001-10-31 13:35:29 EST
fixed > 11025