Bug 99027 - line wraps improperly.
Summary: line wraps improperly.
Status: RESOLVED DUPLICATE of bug 99026
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 14:30 EDT by Trevor Janes CLA
Modified: 2005-06-08 15:40 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 Trevor Janes CLA 2005-06-08 14:30:33 EDT
Eclipse 3.1 M6
I'm writing Java code with all the code styles at default. The following lines
wrap correctly:

public class testc {
    public void func() {
        if (x) {
            button.setLayoutData(new RowData(buttonWidth, tpl
	                .getButton1Height()));
	}
    }
}

But removing a single character causes it to wrap like this:

public class testc {
    public void func() {
        if (x) {
	    button
	            .setLayoutData(new RowData(buttonWidth, tpl
				.getButtonHeight()));
	}
    }
}
Comment 1 Dani Megert CLA 2005-06-08 15:40:48 EDT

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