Summary: | Change marking in CompareEditor cover too much | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | David Balažic <david.balazic> | ||||||
Component: | Compare | Assignee: | Platform-Compare-Inbox <platform-compare-inbox> | ||||||
Status: | REOPENED --- | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | h.klene, malgorzata.tomczyk | ||||||
Version: | 4.2 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | stalebug | ||||||||
Attachments: |
|
Description
David Balažic
2012-01-12 12:18:03 EST
Created attachment 209393 [details]
Screenshot of problem
I created two text files containing lines from comment 0 and compared them with each other. I get the same result as in attachment 209393 [details]. I played a little with the content and noticed that if, after /> I add an alphanumeric character or white space and then some text it's not marked as a change, but when I add non-alphanumeric as <>/+_ etc. than I get the whole sequence as change. It seems to me that compare editor tries to form the content in words and a sequence of non-alphanumeric characters is treated as one word. Duplicate of bug 216707 Created attachment 236228 [details] Screenshot of problem I still see this with Eclipse 4.3.1 (Kepler SR1), while bug 216707 was marked FIXE years ago. As I did not have the files from the original report, I just created two files dummy.txt and dummy.xml and put this contents in them: dummy.txt: /images/xxx.gif'/>" hspace="47" width="200"/> abc def blahblah.... (more lines of different text) dummy.xml: /images/ess.gif'/>" hspace="47" width="200"/></a> abc def foo_bar_baz... also some more lines Then I selected both and did Compare With / Each Other Again, the same problem happens as in original report. Screenshot attached 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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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. -- The automated Eclipse Genie. this still happens in this version: Eclipse IDE for Enterprise Java Developers (includes Incubating components) Version: 2020-06 (4.16.0) Build id: 20200615-1200 |