   #
   # "Last" is defined as the most recently added cursor.
   #
-  # Returns a Boolean.
+  # Returns a {Boolean}.
   isLastCursor: ->
     this == @editor.getCursor()
 

  # "Surrounded" here means that all characters before and after the cursor is
  # whitespace.
  #
  # Returns a Boolean.
  isSurroundedByWhitespace: ->
    {row, column} = @getBufferPosition()
    range = [[row, Math.min(0, column - 1)], [row, Math.max(0, column + 1)]]


  # Public: Moves a cursor to a given buffer position.
  #
  # bufferPosition - An {Array} of two numbers: the buffer row, and the buffer
  #                  column.
  # options - An {Object} with the following keys:
  #   :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever
  #                 the cursor moves to.
  setBufferPosition: (bufferPosition, options={}) ->
    @changePosition options, =>
      @marker.setHeadBufferPosition(bufferPosition, options)
