Highlight trailing whitespace and add TrimWhiteSpace function