diff --git a/spellchecker/src/com/intellij/spellchecker/inspections/BaseSplitter.java b/spellchecker/src/com/intellij/spellchecker/inspections/BaseSplitter.java index 83b1b821bd56..c65bf0907b77 100644 --- a/spellchecker/src/com/intellij/spellchecker/inspections/BaseSplitter.java +++ b/spellchecker/src/com/intellij/spellchecker/inspections/BaseSplitter.java @@ -136,7 +136,7 @@ public abstract class BaseSplitter implements Splitter { return new StringUtil.BombedCharSequence(substring) { @Override protected void checkCanceled() { - if (ApplicationManager.getApplication().isHeadlessEnvironment()) return; + //todo[anna] if (ApplicationManager.getApplication().isHeadlessEnvironment()) return; long l = System.currentTimeMillis(); if (l >= myTime) { throw new ProcessCanceledException();