Bug 284978 - [navigation] Mark occurrences for same file doesn't work consistently across multiple editors
Summary: [navigation] Mark occurrences for same file doesn't work consistently across ...
Status: RESOLVED DUPLICATE of bug 64911
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-29 04:55 EDT by Fritz Meier CLA
Modified: 2009-07-30 02:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fritz Meier CLA 2009-07-29 04:55:06 EDT
Build ID: M20080911-1700

Steps To Reproduce:
1. create a file where a several variable is mentioned multiple times. Set cursor inside one of these variables. All mentions of the variable are highlighted. Repeat: highlights are consistent and work always.
2. Select Menu Window > New Editor. Drag the new editor around so that you can see the previous and the new editor at the same time.
3. Set cursor inside one of the variables as before, multiple times. Alternate between the editor windows

Expected outcome: All mentions of the variable are highlighted in both editors, always. Only the the selected variable is highlighted.
Current result: Sometimes, only the active editor is updated. Other times, the previous variable stays highlighted resulting in 2 highlights.

More information:
Comment 1 Dani Megert CLA 2009-07-30 02:19:34 EDT
This is because we currently use the document's annotation model.

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