Rename to Token#buildSoftWrapIndentToken

This commit is contained in:
Antonio Scandurra
2015-02-19 18:06:20 +01:00
parent 67ef17e0c8
commit ac6a7bb47f
2 changed files with 2 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ class Token
isHardTab: isHardTab
)
buildPhantomTabToken: (length) ->
buildSoftWrapIndentToken: (length) ->
new Token(
value: _.multiplyString(" ", length),
scopes: @scopes,

View File

@@ -121,7 +121,7 @@ class TokenizedLine
leftTextLength += nextToken.value.length
leftTokens.push nextToken
phantomTab = leftTokens[0].buildPhantomTabToken(@indentLevel * @tabLength)
phantomTab = leftTokens[0].buildSoftWrapIndentToken(@indentLevel * @tabLength)
leftFragment = new TokenizedLine(
tokens: leftTokens