Bug 171678 - [Viewers] Token diff treats space as significant
Summary: [Viewers] Token diff treats space as significant
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact: Tomasz Zarna CLA
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2007-01-25 10:00 EST by Michael Valenta CLA
Modified: 2019-09-06 16:04 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2007-01-25 10:00:35 EST
The token diff used by the text merge viewer treats spaces as significant. What this means is that a line like "a = b" would result is three token diffs when compared with "c + d" even though it is really a complete change.
Comment 1 Michael Valenta CLA 2007-02-22 16:18:59 EST
It turns out TextMergeViewer already had a USE_MERGING_TOKEN_DIFF flag. Setting it to true fixed the problem.
Comment 2 Michael Valenta CLA 2007-03-20 13:21:39 EDT
Reopening due to bug 177947.
Comment 3 Tomasz Zarna CLA 2008-04-16 09:56:07 EDT
We had no time to investigate it further. Will try to do it during 3.5.
Comment 4 Tomasz Zarna CLA 2009-04-10 04:08:12 EDT
Sorry, not enough time to investigate it during 3.5, postponing until 3.6.
Comment 5 Tomasz Zarna CLA 2010-01-28 08:14:05 EST
Even though it's an interesting issue, we do not plan to fix this in the nearest future. I'm removing the target milestone to better match the reality.
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:04:41 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.