void (@NonNls StringBuilder sb, HighlightInfo cur, boolean opening) { sb.append("<"); if (!opening) sb.append("/"); if (cur.isAfterEndOfLine()) { sb.append(cur.getSeverity() == HighlightSeverity.WARNING ? "EOLWarning" : "EOLError"); } else { sb.append(cur.getSeverity() == HighlightSeverity.WARNING ? "warning" : "error"); } if (opening) { sb.append(" descr=\"").append(cur.getDescription()).append("\""); } sb.append(">"); }