Bug 199041 - Replace text match preview is wrong
Summary: Replace text match preview is wrong
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-07 05:57 EDT by Dani Megert CLA
Modified: 2019-09-06 15:35 EDT (History)
4 users (show)

See Also:


Attachments
The proposal "word vs letter" (47.22 KB, image/jpeg)
2007-08-16 11:01 EDT, Szymon Brandys CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2007-08-07 05:57:28 EDT
I120070807-0010.

1. have a file with foobar in it
2. text search for "foo"
3. replace with "replace"
==> the preview is wrong:
[foobar] ==> [replacebar] 

Expected: [foo]bar ==> [replace]bar

[xyz] means xyz is highlighted.
Comment 1 Martin Aeschlimann CLA 2007-08-13 11:36:25 EDT
That's a feature of the compare framework. They decided to show changes in by words and not by characters.
It's the same when you edit one letter and do a compare with previous. Same in text compare and in Java compare.
Comment 2 Krzysztof Daniel CLA 2007-08-16 10:50:37 EDT
I think user should have possibility to switch between word and letter compare level. It may be confusing to the user when the whole word is marked as changed, but from the other side I prefer word comparison then letter - I think it is closer to human nature ;).

Comment 3 Szymon Brandys CLA 2007-08-16 11:01:27 EDT
Created attachment 76225 [details]
The proposal "word vs letter"

Or we can mark whole words but highlight the real change.
Something like this on the attached image.
Comment 4 Szymon Brandys CLA 2007-08-16 11:06:26 EDT
As Martin mentioned, that feature was on purpose. But anyway I think we can improve it. I'm changing the severity to enhancement.
Comment 5 Eclipse Webmaster CLA 2019-09-06 15:31:26 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.
Comment 6 Eclipse Webmaster CLA 2019-09-06 15:35:26 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.