       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])

    return line.length

  # TODO ...
  searchBackwardCutableColumn: (line, wrapColumn, cutable = true) ->
    for column in [(wrapColumn)..0]
      if @whitespaceCharRegexp.test(line[column])
        if cutable
          continue
      else if @wordCharRegexp.test(line[wrapColumn])
        #if preWord
        #  continue
        #else if
        return
        #if @wordCharRegexp.test(line[wrapColumn])
        #for column in [wrapColumn..0]
        #  return column + 1 unless @wordCharRegexp.test(line[column])
        #return wrapColumn
      else if @notEndingCharRegexp.text(line[wrapColumn])
      else if @notStartingCharRexgep.test(line[wrapColumn])
        # Character Not Starting a Line
        for column in [wrapColumn...0]
          return column unless @notStartingCharRexgep.test(line[column])
        return wrapColumn
      else
        return wrapColumn

      if @notStartingCharRegexp.test(line[column])
        foundNotStartingColumn = column
      else if foundNotStartingColumn? and @notEndingCharRegexp.test(line[column])
        return @searchBackwardNotEndingColumn(line, column + 1)
      else
        return column
    return

    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) > softWrapColumn
      return @japaneseWrapManager.findJapaneseWrapColumn(line, softWrapColumn)

  # restore Display#findWrapColumn()
