void (@NotNull LargeFileEditor largeFileEditor, @NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { if (largeFileEditor.getEditor().getHeaderComponent() instanceof SearchReplaceComponent) { largeFileEditor.getSearchManager().onEscapePressed(); } else if (getOriginalHandler().isEnabled(editor, caret, dataContext)) { getOriginalHandler().execute(editor, caret, dataContext); } }