GutterIconRenderer () { if (getPatchInsertionRange().isEmpty()) return null; return createIconRenderer(DiffBundle.message("action.presentation.diff.copy.text"), AllIcons.Actions.Copy, () -> myViewer.executeCommand(DiffBundle.message("patch.dialog.copy.change.command"), () -> myViewer.copyChangeToClipboard(this))); }