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:
parent
d750e21df8
commit
d64ad93d06
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue