diff --git a/src/range.coffee b/src/range.coffee index 5e975f4357..263535cc6f 100644 --- a/src/range.coffee +++ b/src/range.coffee @@ -298,13 +298,7 @@ class Range Section: Conversion ### - toDelta: -> - rows = @end.row - @start.row - if rows == 0 - columns = @end.column - @start.column - else - columns = @end.column - new Point(rows, columns) + toDelta: -> @getExtent() # Public: Returns a string representation of the range. toString: ->