       tokenStartColumn += token.screenDelta
 
     if @isColumnInsideSoftWrapIndentation(tokenStartColumn)
-      @softWrapIndentationDelta
+      @getSoftWrapIndentationDelta()
     else if token.isAtomic and tokenStartColumn < column
       if clip is 'forward'
         tokenStartColumn + token.screenDelta

    else
      column

  screenColumnForBufferColumn: (bufferColumn, options) ->
    bufferColumn = bufferColumn - @startBufferColumn
    screenColumn = 0
    currentBufferColumn = 0
    for token in @tokens
      break if currentBufferColumn + token.bufferDelta > bufferColumn
      screenColumn += token.screenDelta
      currentBufferColumn += token.bufferDelta
    @clipScreenColumn(screenColumn + (bufferColumn - currentBufferColumn))

  bufferColumnForScreenColumn: (screenColumn, options) ->
    bufferColumn = @startBufferColumn
    currentScreenColumn = 0
    for token in @tokens
      break if currentScreenColumn + token.screenDelta > screenColumn
      bufferColumn += token.bufferDelta
      currentScreenColumn += token.screenDelta
    bufferColumn + (screenColumn - currentScreenColumn)

  getMaxScreenColumn: ->
    if @fold


    @subdivideTokens()
    @buildEndOfLineInvisibles() if @invisibles? and @lineEnding?

  subdivideTokens: ->
    text = ''
