 
   # Public: Get the RegExp used by the cursor to determine what a "word" is.
   #
-  # * options:
-  #    + includeNonWordCharacters:
-  #      A Boolean indicating whether to include non-word characters in the regex.
-  #
-  # Returns a RegExp.
+  # options: An {Object} with the following keys:
+  #   :includeNonWordCharacters - A {Boolean} indicating whether to include
+  #                               non-word characters in the regex.
+  #
+  # Returns a {RegExp}.
   wordRegExp: ({includeNonWordCharacters}={})->
     includeNonWordCharacters ?= true
     nonWordCharacters = atom.config.get('editor.nonWordCharacters')


  # Public: Moves a cursor to a given screen position.
  #
  # * screenPosition:
  #   An {Array} of two numbers: the screen row, and the screen column.
  # * options:
  #    + autoscroll:
  #      A Boolean which, if `true`, scrolls the {Editor} to wherever the
  #      cursor moves to.
  setScreenPosition: (screenPosition, options={}) ->
    @changePosition options, =>
      @marker.setHeadScreenPosition(screenPosition, options)


  # Public: Moves the cursor right one screen column.
  #
  # options - An {Object} with the following keys:
  #   :moveToEndOfSelection - if true, move to the right of the selection if a
  #                           selection exists.
  moveRight: ({moveToEndOfSelection}={}) ->
    range = @marker.getScreenRange()
    if moveToEndOfSelection and not range.isEmpty()
