diff options
author | azerr | 2018-05-02 17:43:54 +0000 |
---|---|---|
committer | azerr | 2018-05-02 17:43:54 +0000 |
commit | f430604e34b66e51471aa26c0c61053408afeac2 (patch) | |
tree | bfb5c8b00f7ee1bea4d9b3edc435ad934eaaf8b8 /org.eclipse.jface.text | |
parent | 1e4cfad8585c02304633b2be77c5d7278fec36f0 (diff) | |
download | eclipse.platform.text-f430604e34b66e51471aa26c0c61053408afeac2.tar.gz eclipse.platform.text-f430604e34b66e51471aa26c0c61053408afeac2.tar.xz eclipse.platform.text-f430604e34b66e51471aa26c0c61053408afeac2.zip |
Bug 534276 - [code mining] Draw of line which have line headerI20180502-2000
annotation are sometimes not drawn with Dark theme
Change-Id: I8a546849af1498ab899587c82fae9930a7da043e
Signed-off-by: azerr <angelo.zerr@gmail.com>
Diffstat (limited to 'org.eclipse.jface.text')
-rw-r--r-- | org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/InlinedAnnotationDrawingStrategy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/InlinedAnnotationDrawingStrategy.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/InlinedAnnotationDrawingStrategy.java index b05a8482f50..2ffcc52cc79 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/InlinedAnnotationDrawingStrategy.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/InlinedAnnotationDrawingStrategy.java @@ -96,7 +96,7 @@ class InlinedAnnotationDrawingStrategy implements IDrawingStrategy { // Colorize line spacing area with the background of StyledText to avoid having highlighted line color gc.setBackground(textWidget.getBackground()); Rectangle client= textWidget.getClientArea(); - textWidget.drawBackground(gc, 0, y, client.width, annotation.getHeight()); + gc.fillRectangle(0, y, client.width, annotation.getHeight()); // Draw the line header annotation annotation.setLocation(x, y); |