Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-05-11 12:03:47 +0000
committerLars Vogel2020-05-11 12:03:47 +0000
commit54dfd3f5c5359b90090acc2330708ee31153f5c0 (patch)
treef39d8e8e11fed6fbd01e580b6d016b00d85faf49
parentbf95a3276f46fb67cb7b6dc37319aef6d2bc7cbd (diff)
downloadeclipse.platform.team-R4_16_maintenance.tar.gz
eclipse.platform.team-R4_16_maintenance.tar.xz
eclipse.platform.team-R4_16_maintenance.zip
compare editors ends up white Change-Id: Iad9cde6beaf3acdac2d9a282fc113b6db87474fe Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/MergeSourceViewer.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/MergeSourceViewer.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/MergeSourceViewer.java
index 9012bfca7..a16eb064f 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/MergeSourceViewer.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/MergeSourceViewer.java
@@ -65,7 +65,6 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
@@ -556,10 +555,6 @@ public class MergeSourceViewer implements ISelectionChangedListener,
StyledText c= getSourceViewer().getTextWidget();
if (c != null) {
c.setEnabled(enabled);
- Display d= c.getDisplay();
- if (enabled) {
- c.setBackground(d.getSystemColor(SWT.COLOR_LIST_BACKGROUND));
- }
}
}
}

Back to the top