From ee67b744a21185e1640f39d7a3faa8e81d3af48e Mon Sep 17 00:00:00 2001 From: RedNesto Date: Fri, 13 Sep 2024 12:06:57 +0200 Subject: [PATCH] Mark LangSpellcheckingStrategy as DumbAware Starting in 2024.3 SpellcheckingStrategy is PossiblyDumbAware --- .../translations/lang/spellcheck/LangSpellcheckingStrategy.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt b/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt index c952cfced..d966d8527 100644 --- a/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt +++ b/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt @@ -22,13 +22,14 @@ package com.demonwav.mcdev.translations.lang.spellcheck import com.demonwav.mcdev.translations.lang.MCLangLanguage import com.demonwav.mcdev.translations.lang.gen.psi.LangTypes +import com.intellij.openapi.project.DumbAware import com.intellij.psi.PsiElement import com.intellij.psi.impl.source.tree.LeafPsiElement import com.intellij.spellchecker.tokenizer.SpellcheckingStrategy import com.intellij.spellchecker.tokenizer.Tokenizer import com.intellij.spellchecker.tokenizer.TokenizerBase -class LangSpellcheckingStrategy : SpellcheckingStrategy() { +class LangSpellcheckingStrategy : SpellcheckingStrategy(), DumbAware { private val langCommentTokenizer = LangCommentTokenizer() private val langKeyTokenizer = TokenizerBase(LangKeySplitter)