Bug 135130 - Special color for element definition in overview ruler
Summary: Special color for element definition in overview ruler
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-04-05 16:07 EDT by Carl Manaster CLA
Modified: 2007-06-22 10:04 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 Carl Manaster CLA 2006-04-05 16:07:07 EDT
When an element is highlighted, all its occurrences are marked in the overview ruler with annotations.  Annotate the element's definition specially, say with double saturation, so it is easy to pick it out from the crowd.
Comment 1 Dani Megert CLA 2006-04-08 08:43:55 EDT
Do you mean the inital input or the definition?

e.g.:

void foo() {
  fo<caret>o();
}

would you render the definition or the caret location?
Comment 2 Carl Manaster CLA 2006-04-08 09:52:08 EDT
(In reply to comment #1)
> Do you mean the inital input or the definition?
> 
> e.g.:
> 
> void foo() {
>   fo<caret>o();
> }
> 
> would you render the definition or the caret location?
> 


I mean the definition.  Examples:

(1)
class <SPECIAL HILITE>Foo</SPECIAL HILITE> {
...
   <HILITE>Foo</HILITE> foo = new F<caret>oo()

(2)
    public void <SPECIAL HILITE>foo</SPECIAL HILITE>() {
...
        <HILITE>f<caret>oo</HILITE>();

(3)
class Foo() {
    private int <SPECIAL HILITE>bar</SPECIAL HILITE>;
    void baz() {
        <HILITE>ba<caret>r</HILITE> = 0;
        <HILITE>bar</HILITE> = <HILITE>bar</HILITE> + 1;

etc.

Maybe it's simpler to say: I want the occurrence that I will go to if I hit F3 to have a special highlight.  Does that help?
Comment 3 Dani Megert CLA 2007-06-22 09:59:48 EDT
Get rid of deprecated state.
Comment 4 Dani Megert CLA 2007-06-22 10:04:57 EDT
.