@Nullable
 private static String addReadOnly(@Nullable String title, @Nullable Editor editor) {
   if (editor == null || title == null) {
     return title;
   }
   boolean readonly = editor.isViewer() || !editor.getDocument().isWritable();
   if (readonly) {
     title += " " + DiffBundle.message("diff.content.read.only.content.title.suffix");
   }
   return title;
 }
 public String getNumDifferencesText() {
   return DiffBundle.message("diff.count.differences.status.text", getLineBlocks().getCount());
 }
 public LineSeparatorsOnlyDiffPanel() {
   myLabel.setText(
       DiffBundle.message(
           "diff.contents.have.differences.only.in.line.separators.message.text"));
 }
 public FileContentsAreIdenticalDiffPanel() {
   myLabel.setText(DiffBundle.message("diff.contents.are.identical.message.text"));
 }