remove extra empty line
extract Diagnostic#highlight