Community
Participate
Working Groups
Created attachment 287271 [details] Screenshot of the issue I am working on an Eclipse plugin and now implementing some code completion proposals for class members where I show the members' visibility using a colored square. I have implemented ICompletionProposalExtension6 for this so the lines can have styles. The squares are practically colored Unicode square characters. It almost works as I want except that colors are not shown for the selected item, its text is converted to the color configured by setProposalSelectorForeground() (see the black square in the image). It seems this is hardcoded behavior and eclipse ignores styles for the selected items (at least for the colors). It would be great if this could be improved somehow as it decreases the usability of styles for the proposals (for example, I could imagine a boolean setting to control whether only the background color is changed for the selected item).
*** Bug 576495 has been marked as a duplicate of this bug. ***
Styles are also not shown on the selected elements any other tree in the Eclipse IDE. Moving to SWT for analysis.