Add an option to only show trailing whitespace characters.

This change adds an option to the editor settings dialog to show only trailing whitespace.

Trailing whitespace is defined as a tab, ' ' or ideographic space character that is not followed by a Character.isWhitespace character before the next new line or the end of the buffer.

The isTrailingWhitespace function is inefficient if the file contains extremely long lines.