| Summary: | [compare] 'Select Next / Previous Change' in java compare selects whole string constant / line comment | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert |
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Looks like a dup of bug 78063, which was a 3.2 polish item with no action. |
I20060807-0010 'Select Next / Previous Change' in java compare selects whole string constant / line comment, even if only a single word has changed. This makes it sometimes hard to spot the difference, since you have to compare those lines 'manually'. Example: --- Try.java: /** * Javadoc javadoc Javadoc * @author me and eclipse */ public class Try { //inline comment String getString() { return "a string constant"; } } -------------- --- Try2.java: /** * Javadoc Javadoc Javadoc * @author me and Eclipse */ public class Try2 { //inline Comment String getstring() { return "a String constant"; } } -------------- Comparing the two as *.java files only selects the whole '//inline Comment' and '"a String constant"'. Comparing them as *.txt files selects the single words as expected.