Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteicher2005-06-17 15:23:42 +0000
committerteicher2005-06-17 15:23:42 +0000
commitb01bd42fba521187ab43b8cef0971cac6c41bfaf (patch)
tree71b7680b755162e4f3ab09b38eb08db53b7b411f
parent5ec29e3addb91f8167701f34b6d03512e2dd6051 (diff)
downloadeclipse.platform.text-b01bd42fba521187ab43b8cef0971cac6c41bfaf.tar.gz
eclipse.platform.text-b01bd42fba521187ab43b8cef0971cac6c41bfaf.tar.xz
eclipse.platform.text-b01bd42fba521187ab43b8cef0971cac6c41bfaf.zip
98585 [content assist] SWT.VIRTUAL style in the content-assist Table
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
index 5c601ef56..6c037a74c 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
@@ -13,6 +13,8 @@ package org.eclipse.jface.text.contentassist;
import java.util.ArrayList;
import java.util.List;
+import org.eclipse.core.runtime.Platform;
+
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.ControlEvent;
@@ -61,7 +63,7 @@ import org.eclipse.jface.text.TextUtilities;
*/
class CompletionProposalPopup implements IContentAssistListener {
/** Set to <code>true</code> to use a Table with SWT.VIRTUAL. */
- private static final boolean USE_VIRTUAL= true;
+ private static final boolean USE_VIRTUAL= !Platform.WS_MOTIF.equals(Platform.getWS());
private final class ProposalSelectionListener implements KeyListener {
public void keyPressed(KeyEvent e) {

Back to the top