Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Dietrich2021-07-16 01:28:02 -0400
committerAndrey Loskutov2021-07-16 01:47:09 -0400
commitf0787d418f95344475df362e0c927927a607540b (patch)
tree76f561f3184898c26704118c1b562bf10c02ce7a
parent3e2b7500a985ecddb08f3a421fa9a80c058f4442 (diff)
downloadeclipse.platform.text-f0787d418f95344475df362e0c927927a607540b.tar.gz
eclipse.platform.text-f0787d418f95344475df362e0c927927a607540b.tar.xz
eclipse.platform.text-f0787d418f95344475df362e0c927927a607540b.zip
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de> Change-Id: I036cd02358c48e7e94871d4397cfacecbda63e5f Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/183111 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java
index 3c4a8349d..21e307e28 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java
@@ -349,6 +349,8 @@ public class ContentAssistant implements IContentAssistant, IContentAssistantExt
}
protected void showAssist(final int showStyle) {
+ if (fContentAssistSubjectControlAdapter == null)
+ return;
final Control control= fContentAssistSubjectControlAdapter.getControl();
if (control == null)
return;

Back to the top