mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Fixed the parenthesis around the expression around line indent calculation
This commit is contained in:
parent
816b018ae2
commit
7181184e32
@ -299,7 +299,7 @@ module ts {
|
||||
for (; pos < end && isWhiteSpace(currentSourceFile.text.charCodeAt(pos)); pos++) {
|
||||
if (currentSourceFile.text.charCodeAt(pos) === CharacterCodes.tab) {
|
||||
// Tabs = TabSize = indent size and go to next tabStop
|
||||
currentLineIndent += (getIndentSize() - currentLineIndent % getIndentSize());
|
||||
currentLineIndent += getIndentSize() - (currentLineIndent % getIndentSize());
|
||||
}
|
||||
else {
|
||||
// Single space
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user