 
   # Public: Returns the range for the given row
   #
-  # * row: A {Number}
-  # * includeNewline:
-  #     Whether or not to include the newline, resulting in a range that extends
-  #     to the start of the next line.
+  # row - A row {Number}.
+  # includeNewline - Whether or not to include the newline, resulting in a range
+  #                  that extends to the start of the next line.
   #
   # Returns a {Range}.
   rangeForRow: (row, includeNewline) ->

  # Public: Replaces the current buffer contents by applying a diff against
  # the given contents.
  #
  # * text: A {String} containing the new buffer contents.
  setTextViaDiff: (text) ->
    currentText = @getText()
    return if currentText == text


  # Given a row, this finds the next row above it that's empty.
  #
  # startRow - A {Number} identifying the row to start checking at.
  #
  # Returns the row {Number} of the first blank row or `null` if there's no
  #   other blank row.
  previousNonBlankRow: (startRow) ->
    return null if startRow == 0

