Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 463018 - [Hover] Annotation offset ranges are incorrect if a comment is folded
Summary: [Hover] Annotation offset ranges are incorrect if a comment is folded
Status: CLOSED DUPLICATE of bug 456715
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 16:43 EDT by Curtis Windatt CLA
Modified: 2015-03-25 15:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2015-03-24 16:43:09 EDT
To place the tooltip we look at the location of an annotation.  We get the annotation's start and end offsets.  We then ask the view for the start and end lines at those offsets.

If you have a folded (collapsed) comment above the annotation, the return value from getLineAtOffset() will be incorrect.
Comment 1 Curtis Windatt CLA 2015-03-25 15:21:45 EDT

*** This bug has been marked as a duplicate of bug 456715 ***