       displayBuffer.japaneseWrapManager = undefined
 
   # Japanese Wrap Column
-  findJapaneseWrapColumn: (line, sotfWrapColumn) ->
+  findJapaneseWrapColumn: (line, softWrapColumn) ->
     size = 0
     for wrapColumn in [0...line.length]
       if @zeroWidthCharRegexp.test(line[wrapColumn])

    displayBuffer.findWrapColumn = (line, softWrapColumn=@getSoftWrapColumn()) ->
      return unless @isSoftWrapped()
      # If all characters are full width, the width is twice the length.
      return unless (line.length * 2) > sotfWrapColumn
      return @japaneseWrapManager.findJapaneseWrapColumn(line, softWrapColumn)

  # restore Display#findWrapColumn()

    return line.length

  # TODO ...
  # まえがx
  # まえがok
  searchBackwardCutableColumn: (line, wrapColumn, cutable, preWord) ->
    for column in [(wrapColumn - 1)..0]
      if @whitespaceCharRegexp.test(line[column])
        if cutable or preWord
          preColumn = @searchBackwardNotEndingColumn(line, column)
          if preColumn?
            preColumn
          else
            return column + 1
      else if @wordCharRegexp.test(line[wrapColumn])
        if (! preWord) and cutable
          return column + 1
        else
          preWord = true
      else if @notEndingCharRegexp.text(line[wrapColumn])
        cutable = true
        preWord = false
      else if @notStartingCharRexgep.test(line[wrapColumn])
        if cutable or preWord
          return column + 1
        else
          cutable = false
          preWord = false
      else
        if cutable or preWord
          return column + 1
        else
          cutable = true
          preWord = false
    return wrapColumn
