Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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