Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2003-10-27 19:57:48 +0000
committerDani Megert2003-10-27 19:57:48 +0000
commit7fac286a2ab7ac82046a7dbff33458880ca8fb90 (patch)
treec2f0d8cbfadbf9cd192039fa7fe524275922a1bf
parentd19d0cb6f7f9d587cf3c5e9da47a067c4e154e23 (diff)
downloadeclipse.platform.text-7fac286a2ab7ac82046a7dbff33458880ca8fb90.tar.gz
eclipse.platform.text-7fac286a2ab7ac82046a7dbff33458880ca8fb90.tar.xz
eclipse.platform.text-7fac286a2ab7ac82046a7dbff33458880ca8fb90.zip
Merged from editorWork stream
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationPainter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationPainter.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationPainter.java
index cc310a8de..99eb2a44e 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationPainter.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationPainter.java
@@ -223,12 +223,12 @@ public class AnnotationPainter implements IPainter, PaintListener, IAnnotationMo
private void updatePainting() {
disablePainting(true);
- // Add background to style ranges
+ // remove background from style ranges
applyBackground(false); // faster than invalidateTextPresentation();
catchupWithModel();
- // Remove background from style ranges
+ // add background to style ranges
applyBackground(true);
enablePainting();

Back to the top