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

Bug 322805

Summary: [compare] Eclipse Text compare: Previous Change button is highlighting the whole line rather than just the previous change as in word.
Product: [Eclipse Project] JDT Reporter: Rahul Yadav <rahulyadav20>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, rahulyadav20
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description Rahul Yadav CLA 2010-08-16 11:22:35 EDT
Build Identifier: Version: 3.6.0.v20100525-7b7mFKtFEx2XmfZ4_B7NUJA, Build id: I20100608-0911

Steps to Reproduce:

1.Compare two different files in text editor.
2.Select any file from Structure Compare view.
3.Click on Previous / Next change buttons from CE toolbar.

Expected Results:
The next or the previous change words should get highlighted.

Actual Result:
In case of Next change, the next changed word is highlighted however in case of Previous change, the previous line which contains the change is highlighted instead of actually a changed word.


Reproducible: Always

Steps to Reproduce:
1.Compare two different files in text editor.
2.Select any file from Structure Compare view.
3.Click on Previous / Next change buttons from CE toolbar.
Comment 1 Dani Megert CLA 2010-08-17 04:52:44 EDT
The text compare does not show structure, so I assume you refer to Java compare.

This works fine for me using R3.6 and 3.7 M1 from here:
http://download.eclipse.org/eclipse/downloads/

If you can reproduce with one of those builds then please provide a step by step test case starting from a fresh workspace and reopen this bug.