mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user