       if copy then object.copy() else object
     else
       new this(object.start, object.end)
-
-  @fromPointWithDelta: (pointA, rowDelta, columnDelta) ->
-    pointA = Point.fromObject(pointA)
-    pointB = new Point(pointA.row + rowDelta, pointA.column + columnDelta)
-    new this(pointA, pointB)
 
   @fromText: (args...) ->
     if args.length > 1

  coversSameRows: (other) ->
    @start.row == other.start.row && @end.row == other.end.row

  add: (point) ->
    new @constructor(@start.add(point), @end.add(point))

  translate: (startPoint, endPoint=startPoint) ->
    new @constructor(@start.translate(startPoint), @end.translate(endPoint))


  isEmpty: ->
    @start.isEqual(@end)

  getRowCount: ->
    @end.row - @start.row + 1

