   # Returns a range based on an optional starting point and the given text. If
   # no starting point is given it will be assumed to be [0, 0].
   #
-  # * startPoint: A {Point} where the range should start.
-  # * text:
-  #   A {String} after which the range should end. The range will have as many
+  # * `startPoint` (optional) {Point} where the range should start.
+  # * `text` A {String} after which the range should end. The range will have as many
   #   rows as the text has lines have an end column based on the length of the
   #   last line.
   #


  # Public: Returns a {Boolean} indicating whether this range intersects the
  # given row {Number}.
  intersectsRow: (row) ->
    @start.row <= row <= @end.row

  # Public: Returns a {Boolean} indicating whether this range intersects the
  # row range indicated by the given startRow and endRow {Number}s.
  intersectsRowRange: (startRow, endRow) ->
    [startRow, endRow] = [endRow, startRow] if startRow > endRow
    @end.row >= startRow and endRow >= @start.row

  # Public: Returns a new range that contains this range and the given range.
  union: (otherRange) ->
    start = if @start.isLessThan(otherRange.start) then @start else otherRange.start
    end = if @end.isGreaterThan(otherRange.end) then @end else otherRange.end

  # Public: Returns a {Boolean} indicating whether this range contains the given
  # point.
  #
  # * `point` A {Point} or point-compatible {Array}
  # * `exclusive` A boolean value including that the containment should be exclusive of
  #   endpoints. Defaults to false.
  containsPoint: (point, exclusive) ->
    # Deprecated: Support options hash with exclusive
