Bug 64911 - [navigation] AnnotationPainter and mark occurrences should use the visual annotation model
Summary: [navigation] AnnotationPainter and mark occurrences should use the visual ann...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: investigate
: 107464 178289 220835 284978 337960 548182 (view as bug list)
Depends on:
Blocks: 107464
  Show dependency tree
 
Reported: 2004-06-01 06:48 EDT by Tom Hofmann CLA
Modified: 2023-05-31 17:13 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hofmann CLA 2004-06-01 06:48:07 EDT
RC1

- browsing perspective (probably does not matter)
- smoke test scenario
- two editors open side by side
- open IMoney.java and Money.java
- enable Mark Occurrences, 'sticky' preference does *not* matter

- select a textual instance of IMoney in money

-> all IMoney instances in Money.java are highlighted
-> there is highlighting in IMoney.java as well, if the caret is placed on a
highlightable element

expected: there is only highlighting in the active editor

- Ensure that the caret in both editors is on a highlightable element, such that
 there is highlighting if the editor is active
- switch between the editors using Ctrl+F6

-> ok: there is only highlighting in the active editor

- switch between the editors using the mouse

-> not ok: there is highlighting in both editors.
Comment 1 Dani Megert CLA 2007-03-20 13:51:50 EDT
*** Bug 107464 has been marked as a duplicate of this bug. ***
Comment 2 Dani Megert CLA 2007-03-20 13:52:15 EDT
*** Bug 178289 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2007-03-20 13:56:20 EDT
The right way to solve this is to add the occurence annotation to the visual annotation model and change the AnnotationPainter to work on the visual annotation model.

This is quite a change and will probably add performance degradation as the visual annotation model delegates to the model's annotation model. Such a change needs closer investigation and testing.
Comment 4 Dani Megert CLA 2008-02-29 03:18:20 EST
*** Bug 220835 has been marked as a duplicate of this bug. ***
Comment 5 Dani Megert CLA 2009-07-30 02:19:34 EDT
*** Bug 284978 has been marked as a duplicate of this bug. ***
Comment 6 Dani Megert CLA 2011-02-23 08:30:39 EST
*** Bug 337960 has been marked as a duplicate of this bug. ***
Comment 7 Eclipse Genie CLA 2018-11-28 18:08:01 EST
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.
Comment 8 Dani Megert CLA 2019-06-12 09:16:10 EDT
*** Bug 548182 has been marked as a duplicate of this bug. ***
Comment 9 David Balažic CLA 2019-06-12 09:27:55 EDT
(In reply to Dani Megert from comment #3)
> This is quite a change and will probably add performance degradation

I'm sure 15 years later the computers caught up with those computing demands.
Comment 10 Eclipse Genie CLA 2021-06-02 15:24:29 EDT
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.
Comment 11 Eclipse Genie CLA 2023-05-31 17:13:49 EDT
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.