void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { if (editor.isColumnMode() && caret == null && editor.getCaretModel().getCaretCount() > 1) { EditorUIUtil.hideCursorInEditor(editor); CommandProcessor.getInstance().setCurrentCommandGroupId(EditorActionUtil.DELETE_COMMAND_GROUP); CopyPasteManager.getInstance().stopKillRings(); editor.getCaretModel().runForEachCaret(c -> { int offset = c.getOffset(); int lineEndOffset = DocumentUtil.getLineEndOffset(offset, editor.getDocument()); if (offset < lineEndOffset) myOriginalHandler.execute(editor, c, dataContext); }); } else { myOriginalHandler.execute(editor, caret, dataContext); } }