Bug 4960

Summary: Code formatter preference check box meaning is reversed
Product: [Eclipse Project] JDT Reporter: Carolyn MacLeod <carolynmacleod4>
Component: UIAssignee: Martin Aeschlimann <martinae>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: Other   
OS: other   
Whiteboard:

Description Carolyn MacLeod CLA 2001-10-13 01:07:54 EDT
build 204
- go to the code formatter preference page
- on the New Lines tab
- look at the "Keep else if on the same line" checkbox
- turn it off and on
- the logic of the checkbox is backwards, i.e.
   it should either be checked to start with,
   or the label should say "Do not keep else if on the same line"
   or the visual display should be reversed
Comment 1 Philipe Mulet CLA 2001-10-16 06:39:01 EDT
Displayed message does not match the logic behind.

CodeFormatterPreferencePage
...
  label= JavaUIMessages.getString
("CodeFormatterPreferencePage.newline_else_if.label"); //$NON-NLS-1$
  addCheckBox(newlineComposite, label, PREF_NEWLINE_ELSE_IF, insertNotInsert);	


Moving to UI. 
Comment 2 Martin Aeschlimann CLA 2001-11-20 09:08:08 EST
fixed >11116