Skip to content

Commit

Permalink
Mark LangSpellcheckingStrategy as DumbAware
Browse files Browse the repository at this point in the history
Starting in 2024.3 SpellcheckingStrategy is PossiblyDumbAware
  • Loading branch information
RedNesto committed Sep 13, 2024
1 parent e941c85 commit ee67b74
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<LeafPsiElement>(LangKeySplitter)

Expand Down

0 comments on commit ee67b74

Please sign in to comment.