Community
Participate
Working Groups
3.1 M6 - selected the (General > Editors > Text Editors > Annotations) pref page - changed the color for Occurrences to a light pink - when occurrences are highlighted, the light pink is used in the main text area, but the default yellow colour is still used in the overview ruler Expectation: use the same colour in both the main text area and the ruler.
Note: the reason I changed the colour was to get a better distinction between occurrences and warnings in the overview ruler. Might be good to pick a more distinct default colour here.
This works fine for me (or I might use a wrong scenario). Might it be possible that your code has warnings? Warnings have precedence over occurrences.
Playing around with it some more, it does show the colour in the ruler if it's a highly saturated colour, but if not the colour gets lost.
Created attachment 19540 [details] Screens shot This shows how the colour in the ruler indicator gets washed out. The light pink has HSV values of 200/240/226. In my scenario, I want the occurrences to be a light colour, but distinct from the warning yellow.
>This shows how the colour in the ruler indicator gets washed out. In the overview ruler we increase the lightness if the annotation is created out of the current editor content (instead of e.g. a marker which is based on the file content).
*** Bug 93342 has been marked as a duplicate of this bug. ***
*** Bug 149854 has been marked as a duplicate of this bug. ***
*** Bug 150137 has been marked as a duplicate of this bug. ***
I can't see much of an effect when I change the color for warnings. I guess the color which I can select is modified somehow before it is used. You can see this for yourself when you set the color to black. Only the rectangle at the top of the overview bar is now black; the icons in the vertical ruler are unaffected, the squiggles are grey, as are the warning boxes. I suggest that you take the selected color literally for the squiggles and the inside of the marks on the right. The outline of the marks should then be computed to be a darker hue of the inner color.
*** This bug has been marked as a duplicate of bug 69053 ***