Bug 14742 - Ignore whitespace preference
Summary: Ignore whitespace preference
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: James Moody CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-26 10:14 EDT by Jed Anderson CLA
Modified: 2002-05-16 13:54 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 Jed Anderson CLA 2002-04-26 10:14:31 EDT
Build: 20020423

The ignore whitespace preference defaults back to 'off' on every compare.  Once
the user has turned 'ignore whitespace' on, it should stay on until the user
turns it off.

This would make diffs between files made with different line terminators easier.  

For example, if I have a zip made from source using Linux style line terminators
and an identical zip made with windows line terminators, I see lots of diffs. 
As soon as I turn 'ignore whitespace' on I see no diffs.  It would be nice if I
saw no diffs to begin with.
Comment 1 Erich Gamma CLA 2002-05-04 16:59:02 EDT
the setting should be persisted in the dialog store.
Comment 2 Andre Weinand CLA 2002-05-16 12:29:48 EDT
For 20020517:
Added new preference 'Ignore Whitespace' on the Compare preference page.
Its value determines the initial state of the corresponding Toolbar item for 
every new compare editor opened. Toggling the toolbar item does not change the 
preference on the preference page.
Comment 3 Andre Weinand CLA 2002-05-16 12:30:31 EDT
The CVS synchronisation view does not seem to pick up the initial state of the 
menu item 'Ignore Whitespace' from the CompareConfiguration. It is available 
there via the key 'CompareConfiguration.IGNORE_WHITESPACE' in the
PreferenceStore of the Compare plugin.
Comment 4 James Moody CLA 2002-05-16 13:54:44 EDT
Fixed.