Revert "Don't perform 'sequential formatting' if dummy special text is inserted to the document"

This reverts commit b1bb2c24cac78f80f265cb4593227ff628f89b43.
Reason: choosing don't format sequentially for all actions over than 'format'
This commit is contained in:
Denis Zhdanov
2011-02-18 17:40:00 +03:00
parent 1b198a3333
commit 2366d5d403
4 changed files with 1 additions and 84 deletions
@@ -23,7 +23,6 @@ package com.intellij.codeInsight.template;
import com.intellij.psi.codeStyle.JavaCodeStyleManager;
import com.intellij.psi.codeStyle.SuggestedNameInfo;
import com.intellij.psi.codeStyle.VariableKind;
import com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl;
import com.intellij.psi.text.BlockSupport;
import com.intellij.util.IncorrectOperationException;
import org.jetbrains.annotations.Nullable;
@@ -55,7 +54,6 @@ package com.intellij.codeInsight.template;
ApplicationManager.getApplication().runWriteAction(new Runnable() {
public void run() {
BlockSupport blockSupport = ServiceManager.getService(project, BlockSupport.class);
CodeStyleManagerImpl.setSequentialProcessingAllowed(false);
try{
blockSupport.reparseRange(fileCopy, offset, offset, "xxx");
}