Project: JDT
Bug 185058 [render] Colored Labels: Selected elements rendered wrong
Reported: 2007-05-02 05:56:03 | Status: verified fixed

20070205 The rendering of selected elements seems to be different on Vista. Vista doesn't use the inverted color but just adds a border. The colored labels code used TextLayout.draw(... with selection) to draw these labels. if (isSelected) { fTextLayout.draw(gc, x, y, 0, text.length() - 1, null, null); } else { fTextLayout.draw(gc, x, y); } SWT, do you have a suggestion what to do? Special case for Vista?

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/OwnerDrawSupport.java