mirror of
https://github.com/atom/atom.git
synced 2026-01-27 07:47:58 -05:00
Rename to Token#buildSoftWrapIndentToken
This commit is contained in:
@@ -144,7 +144,7 @@ class Token
|
||||
isHardTab: isHardTab
|
||||
)
|
||||
|
||||
buildPhantomTabToken: (length) ->
|
||||
buildSoftWrapIndentToken: (length) ->
|
||||
new Token(
|
||||
value: _.multiplyString(" ", length),
|
||||
scopes: @scopes,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user