 
     new Range([startRow, 0], [endRow, @editSession.lineLengthForBufferRow(endRow)])
 
-  # Public: Retrieves the characters that constitute a word preceeding the current cursor position.
+  # Retrieves the characters that constitute a word preceeding the current cursor position.
   #
   # Returns a {String}.
   getCurrentWordPrefix: ->
     @editSession.getTextInBufferRange([@getBeginningOfCurrentWordBufferPosition(), @getBufferPosition()])
 
-  # Public: Identifies if the cursor is at the start of a line.
+  # Identifies if the cursor is at the start of a line.
   #
   # Returns a {Boolean}.
   isAtBeginningOfLine: ->
     @getBufferPosition().column == 0
 
-  # Public: Retrieves the indentation level of the current line.
+  # Retrieves the indentation level of the current line.
   #
   # Returns a {Number}.
   getIndentLevel: ->

      @needsAutoscroll ?= true if @visible and @isLastCursor()
      @trigger 'visibility-changed', @visible

  # Public: Retrieves the visibility of the cursor.
  #
  # Returns a {Boolean}.
  isVisible: -> @visible

  # Public: Identifies what the cursor considers a "word" RegExp.
  #
  # Returns a {RegExp}.
  wordRegExp: ->
    nonWordCharacters = config.get("editor.nonWordCharacters")
    new RegExp("^[\t ]*$|[^\\s#{_.escapeRegExp(nonWordCharacters)}]+|[#{_.escapeRegExp(nonWordCharacters)}]+", "g")

  # Public: Identifies if this cursor is the last in the {EditSession}.
  #
  # Returns a {Boolean}.
  isLastCursor: ->
    this == @editSession.getCursor()

  # Public: Identifies if the cursor is surrounded by whitespace.
  #
  # "Surrounded" here means that all characters before and after the cursor is whitespace.
  #


    endOfWordPosition ? currentBufferPosition

  # Retrieves the buffer position of where the next word starts.
  #
  # options - A hash with one option:
  #           :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {wordRegExp})
