mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
Spellchecker: move startInWriteAction() one level up
This commit is contained in:
@@ -71,9 +71,4 @@ public class ChangeTo extends ShowSuggestions implements SpellCheckerQuickFix {
|
||||
.toArray(LookupElement[]::new);
|
||||
LookupManager.getInstance(project).showLookup(editor, items);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -103,9 +103,4 @@ public class RenameTo extends ShowSuggestions implements SpellCheckerQuickFix {
|
||||
editor.putUserData(RenameHandlerRegistry.SELECT_ALL, selectAll);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -62,4 +62,9 @@ public abstract class ShowSuggestions implements LocalQuickFix, Iconable {
|
||||
? InjectedLanguageUtil.openEditorFor(element.getContainingFile(), project)
|
||||
: FileEditorManager.getInstance(project).getSelectedTextEditor();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user