revert to dumbaware: IDEA-CR-31313

This commit is contained in:
Alexey Kudravtsev
2018-04-24 17:49:43 +03:00
parent 02839634ab
commit 6b0d724e26
@@ -27,6 +27,7 @@ import com.intellij.openapi.editor.markup.RangeHighlighter;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.openapi.progress.ProgressManager;
import com.intellij.openapi.project.DumbAware;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.Segment;
@@ -49,7 +50,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Map;
public class IndentsPass extends TextEditorHighlightingPass {
public class IndentsPass extends TextEditorHighlightingPass implements DumbAware {
private static final Key<List<RangeHighlighter>> INDENT_HIGHLIGHTERS_IN_EDITOR_KEY = Key.create("INDENT_HIGHLIGHTERS_IN_EDITOR_KEY");
private static final Key<Long> LAST_TIME_INDENTS_BUILT = Key.create("LAST_TIME_INDENTS_BUILT");