Added logic to highlight end-of-line whitespace.