Bug 4960 - Code formatter preference check box meaning is reversed
Summary: Code formatter preference check box meaning is reversed
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-13 01:07 EDT by Carolyn MacLeod CLA
Modified: 2001-11-20 09:08 EST (History)
0 users

See Also:


Attachments

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