       leftTextLength += nextToken.value.length
       leftTokens.push nextToken
 
-    tab = leftTokens[0].buildPhantomToken(@indentLevel * 2)
+    tab = leftTokens[0].buildPhantomToken(@indentLevel * @tabLength)
 
     leftFragment = new TokenizedLine(
       tokens: leftTokens

      ruleStack: @ruleStack
      invisibles: @invisibles
      lineEnding: @lineEnding,
      indentLevel: @indentLevel
    )
    [leftFragment, rightFragment]


      ruleStack: @ruleStack
      invisibles: @invisibles
      lineEnding: null,
      indentLevel: @indentLevel,
      tabLength: @tabLength
    )
    rightFragment = new TokenizedLine(
      tokens: [tab].concat(rightTokens)
