mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-80056 Column selection mode improvement
disable TypedHandlerDelegates for multicaret state, as they don't work properly now anyway
This commit is contained in:
@@ -138,7 +138,10 @@ public class TypedHandler extends TypedActionHandlerBase {
|
||||
Project project = CommonDataKeys.PROJECT.getData(dataContext);
|
||||
PsiFile file;
|
||||
|
||||
if (project == null || editor.isColumnMode() || (file = PsiUtilBase.getPsiFileInEditor(editor, project)) == null) {
|
||||
if (project == null
|
||||
|| editor.isColumnMode()
|
||||
|| editor.getCaretModel().getAllCarets().size() > 1
|
||||
|| (file = PsiUtilBase.getPsiFileInEditor(editor, project)) == null) {
|
||||
if (myOriginalHandler != null){
|
||||
myOriginalHandler.execute(editor, charTyped, dataContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user