Summary: | [compare] Open Declaration does not work in Java compare editor if target is not in visible segment | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||
Component: | Text | Assignee: | Tomasz Zarna <tomasz.zarna> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | daniel_megert | ||||||
Version: | 3.5 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | stalebug | ||||||||
Bug Depends on: | 261199 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Markus Keller
2009-03-18 10:58:10 EDT
Tomasz, we call org.eclipse.compare.internal.CompareEditorSelectionProvider.setSelection(ISelection, boolean) There we should recognize if the selection is out of scope and then show the full source before setting the selection. Created attachment 130085 [details] Patch v01 A possible solution for the issue but given the fact that it uses IPropertyChangeListener facility to reset the selection it's not the best way to do it (see bug 261199). Created attachment 130086 [details]
mylyn/context/zip
We need to either fix bug 261199 or figure out something completely different but still not involving the IPropertyChangeListener facility. You should also keep in mind Dani's work made on bug 165434. 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. -- The automated Eclipse Genie. |