           pendingFragment = pendingFragment.concat(lineFragment)
         else
           pendingFragment = _.clone(lineFragment)
-        if pendingFragment.screenDelta.row > 0
+        if pendingFragment[deltaType].row > 0
           pendingFragment.bufferDelta = new Point(1, 0)
           lines.push pendingFragment
           pendingFragment = null
-      delta = delta.add(lineFragment.screenDelta)
+      delta = delta.add(lineFragment[deltaType])
 
     lines
 
-  lineForBufferRow: (row) ->
-    line = null
-    delta = new Point
-    for lineFragment in @lineFragments
-      break if delta.row > row
-      if delta.row == row
-        if line
-          line = line.concat(lineFragment)
-        else
-          line = lineFragment
-      delta = delta.add(lineFragment.bufferDelta)
-    line
+
 
   translatePosition: (sourceDeltaType, targetDeltaType, sourcePosition) ->
     sourcePosition = Point.fromObject(sourcePosition)


  lineForScreenRow: (row) ->
    @linesForScreenRows(row, row)[0]

  bufferLineCount: ->
    @bufferPositionForScreenPosition([Infinity, 0]).row


    @lineFragments[startIndex...stopIndex] = lineFragments

  linesByDelta: (deltaType, startRow, endRow) ->
    lines = []
    delta = new Point

