private static final String CHOOSER_TITLE = CodeInsightBundle.message("surround.with.chooser.title");
public void invoke(@NotNull final Project project, @NotNull final Editor editor, @NotNull PsiFile file){
invoke(project, editor, file, null);
}
public boolean startInWriteAction() {
<BUG>return false;
}</BUG>
public static void invoke(final Project project, final Editor editor, PsiFile file, Surrounder surrounder){
List<AnAction> applicable = buildSurroundActions(project, editor, file, surrounder);
if (applicable != null) {

private static final String CHOOSER_TITLE = CodeInsightBundle.message("surround.with.chooser.title");
public void invoke(@NotNull final Project project, @NotNull final Editor editor, @NotNull PsiFile file){
invoke(project, editor, file, null);
}
public boolean startInWriteAction() {
return true;
}
public static void invoke(final Project project, final Editor editor, PsiFile file, Surrounder surrounder){
List<AnAction> applicable = buildSurroundActions(project, editor, file, surrounder);
if (applicable != null) {
