src/vs/editor/common/services/unicodeTextModelHighlighter.ts/isAllowedInvisibleCharacter
function isAllowedInvisibleCharacter(character: string): boolean {
	return character === ' ' || character === '\n' || character === '\t';
}