1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Patch from thomas Fletcher

the brace hilight did no use the foreground color.
This commit is contained in:
Alain Magloire 2003-03-27 20:01:57 +00:00
parent d750e21df8
commit d64ad93d06

View file

@ -102,7 +102,7 @@ public final class BracketPainter implements IPainter, PaintListener {
gc.setForeground(fColor);
if(fNoBox) {
gc.drawString(fTextWidget.getTextRange(offset, 1), left.x, left.y);
gc.drawString(fTextWidget.getTextRange(offset, 1), left.x, left.y, true);
} else {
gc.drawRectangle(left.x, left.y, right.x - left.x - 1, gc.getFontMetrics().getHeight() - 1);
}