Bug 14742

Summary: Ignore whitespace preference
Product: [Eclipse Project] Platform Reporter: Jed Anderson <jed.anderson>
Component: TeamAssignee: James Moody <James_Moody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.