Similar, but different to this question:
I use highlight occurrences a lot, but sometimes I\'m irritated by how hard it is to see the little grey-ish rectangles on the r
Click Toggle Mark Occurrences icon:
It used to take a restart(!) for the color modification to change for certain editors! (as in 2006), due to a bug in Platform UI.
But for current edition (3.4.x, 3.5.1), the General->Editors->Text Editors->Annotations
preference page (the Occurrences
item) should be enough to change on the spot any color settings you want.
After that, it depends on the nature of the editor (PDT editors used to miss that feature, until bug 166178 was fixed)
A new feature of Juno (Eclipse 4.2) may also help here:
Also see the what's new entry about this.
In Kepler 4.3 we can change the colour of occurrence as follow:
General -> Editors -> Text Editors -> Annotations -> Occurrences