ftl mad testing: don't check completion duplicates in HTML

This commit is contained in:
peter
2019-01-02 12:47:07 +01:00
parent 7df00ce67f
commit 42dca8ba9f
@@ -110,7 +110,7 @@ public class InvokeCompletion extends ActionOnFile {
String expectedVariant = leaf == null || leaf instanceof PsiPlainText ? null : myPolicy.getExpectedVariant(editor, file, leaf, ref);
boolean prefixEqualsExpected = isPrefixEqualToExpectedVariant(caretOffset, leaf, ref, expectedVariant);
boolean shouldCheckDuplicates = myPolicy.shouldCheckDuplicates(editor, file, leaf);
boolean shouldCheckDuplicates = myPolicy.shouldCheckDuplicates(editor, file, file.findElementAt(caretOffset));
long stampBefore = getDocument().getModificationStamp();
new CodeCompletionHandlerBase(CompletionType.BASIC).invokeCompletion(getProject(), editor);