mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
surround with: no write action required to show chooser popup (IDEA-264381)
GitOrigin-RevId: b9bfb49dba9192e463f4cd600c13fc9b4ec63655
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9546767d51
commit
ee26daf130
+5
@@ -22,6 +22,11 @@ import org.jetbrains.annotations.NotNull;
|
||||
import java.util.*;
|
||||
|
||||
public class SurroundWithTemplateHandler implements CodeInsightActionHandler {
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invoke(@NotNull final Project project, @NotNull final Editor editor, @NotNull PsiFile file) {
|
||||
if (!EditorModificationUtil.checkModificationAllowed(editor)) return;
|
||||
|
||||
Reference in New Issue
Block a user