842
// was in whitespace token
843
if (!isInWhitespace || (!useMonospaceOptimizations && tmpIndent >= tabSize)) {
845
>
if (generateLinePartForEachWhitespace) {
846
const lastEndIndex = (resultLen > 0 ? result[resultLen - 1].endIndex : fauxIndentLength);
847
for (let i = lastEndIndex + 1; i <= charIndex; i++) {
848
result[resultLen++] = new LinePart(i, 'mtkw', LinePartMetadata.IS_WHITESPACE, false);
849
}
851
result[resultLen++] = new LinePart(charIndex, 'mtkw', LinePartMetadata.IS_WHITESPACE, false);
852
}
854
>
}
855
} else {
856
// was in regular token