Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320566

Summary: Untouched text higlighted as 'Difference'; dos vs. unix end-of-line and ' '
Product: [Eclipse Project] Platform Reporter: Rostislav Svoboda <Rostislav.Svoboda>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Rostislav Svoboda CLA 2010-07-21 18:40:40 EDT
Build Identifier: Helios and Galileo

see Steps to Reproduce

Reproducible: Always

Steps to Reproduce:
1. Create files x.properties, y.properties 
x.properties:
AAA=
BBB=a a

y.properties:
AAA=a a
BBB=

2. set end-of-line encoding
dos2unix y.properties
unix2dos x.properties

3. Switch on the "Show whitespace characters"

4. "compare each other": x.properties and y.properties

5. 'BBB=' is incorrectly highlighted as changed even when 'Ignore white spaces' is toggled.
It seems like the bug appears only when 
- there is a space between the 'a' letters 
- the files have different end-of-line encoding
Comment 1 Tomasz Zarna CLA 2010-07-22 08:33:01 EDT
This is the same bug as bug 320569.

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