Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Xenos2017-02-08 15:18:10 +0000
committerStefan Xenos2017-02-08 15:18:10 +0000
commit2b47769bd223740334323e7f5c4a88a4a34cb55c (patch)
treeddf18c719231e69ab9a95760404050f7bebb412d
parent02dcf2329275ed5b454de741343059a493642c42 (diff)
downloadeclipse.platform.text-2b47769bd223740334323e7f5c4a88a4a34cb55c.tar.gz
eclipse.platform.text-2b47769bd223740334323e7f5c4a88a4a34cb55c.tar.xz
eclipse.platform.text-2b47769bd223740334323e7f5c4a88a4a34cb55c.zip
Bug 511596 - Rulers are forcing synchronous paints during scroll
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/ChangeRulerColumn.java1
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/OverviewRuler.java1
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/VerticalRuler.java1
3 files changed, 0 insertions, 3 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ChangeRulerColumn.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ChangeRulerColumn.java
index 1b3871fb4..940dfcb45 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ChangeRulerColumn.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ChangeRulerColumn.java
@@ -323,7 +323,6 @@ public final class ChangeRulerColumn implements IChangeRulerColumn, IRevisionRul
if (fCachedTextViewer != null && fCanvas != null && !fCanvas.isDisposed()) {
if (VerticalRuler.AVOID_NEW_GC) {
fCanvas.redraw();
- fCanvas.update();
} else {
GC gc= new GC(fCanvas);
doubleBufferPaint(gc);
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/OverviewRuler.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/OverviewRuler.java
index b85763639..f2c3ae8b4 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/OverviewRuler.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/OverviewRuler.java
@@ -916,7 +916,6 @@ public class OverviewRuler implements IOverviewRulerExtension, IOverviewRuler {
if (fCanvas != null && !fCanvas.isDisposed()) {
if (VerticalRuler.AVOID_NEW_GC) {
fCanvas.redraw();
- fCanvas.update();
} else {
GC gc= new GC(fCanvas);
doubleBufferPaint(gc);
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/VerticalRuler.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/VerticalRuler.java
index d46b93104..04e361675 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/VerticalRuler.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/VerticalRuler.java
@@ -471,7 +471,6 @@ public final class VerticalRuler implements IVerticalRuler, IVerticalRulerExtens
if (fCanvas != null && !fCanvas.isDisposed()) {
if (AVOID_NEW_GC) {
fCanvas.redraw();
- fCanvas.update();
} else {
GC gc= new GC(fCanvas);
doubleBufferPaint(gc);

Back to the top