void () { if (!isValid()) return; final Project project = myViewer.getProject(); final Document document = myViewer.getEditor(modifiedSide).getDocument(); DiffUtil.executeWriteCommand(document, project, DiffBundle.message("message.replace.change.command"), perform); }