@Override
 public String getLineText(int line, Editor editor) {
   LastRevision revision = myRevisions.get(line);
   if (revision != null) {
     return String.format(
             "%" + myMaxDateLength + "s", DateFormatUtil.formatPrettyDate(revision.getDate()))
         + " "
         + revision.getAuthor();
   }
   return "";
 }
 @Override
 public String getToolTip(int line, Editor editor) {
   LastRevision revision = myRevisions.get(line);
   if (revision != null) {
     return XmlStringUtil.escapeString(
         revision.getAuthor()
             + " "
             + DateFormatUtil.formatDateTime(revision.getDate())
             + "\n"
             + revision.getMessage());
   }
   return null;
 }