void (@NotNull DataContext dataContext) { String text = StringUtil.join(getSelectedRevisions(), revision -> getPresentableText(revision, true), "\n"); CopyPasteManager.getInstance().setContents(new StringSelection(text)); }