The only cases when surrounding whitespace characters being displayed correctly in syntax view are when there is only one tabulation character in whitespace sequence, or no tabulation characters at all. The problem ocurres both in pre- and post-token whitespace trivia.