Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320567 - Untouched text higlighted as 'Difference'; dos vs. unix end-of-line and ' '
Summary: Untouched text higlighted as 'Difference'; dos vs. unix end-of-line and ' '
Status: RESOLVED DUPLICATE of bug 320569
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 4.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 18:47 EDT by Rostislav Svoboda CLA
Modified: 2010-07-22 08:33 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 Rostislav Svoboda CLA 2010-07-21 18:47:55 EDT
Build Identifier: Helios and Galileo

A part of text is incorrectly highlighted as changed even when 'Ignore white spaces' is toggled.
It seems like the bug appears only when both conditions are fulfilled:
- there is a space between the 'a' letters 
- the files have different end-of-line encoding

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
Comment 1 Tomasz Zarna CLA 2010-07-22 08:33:15 EDT
This is the same bug as bug 320569.

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