 
     beginningOfWordPosition or currentBufferPosition
 
-  # Retrieves buffer position of previous word boiundry. It might be on the
+  # Public: Retrieves buffer position of previous word boiundry. It might be on the
   # current word, or the previous word.
   getPreviousWordBoundaryBufferPosition: (options = {}) ->
     currentBufferPosition = @getBufferPosition()

  getCurrentParagraphBufferRange: ->
    @editSession.languageMode.rowRangeForParagraphAtBufferRow(@getBufferRow())

  # Retrieves the characters that constitute a word preceeding the current cursor position.
  #
  # Returns a {String}.
  getCurrentWordPrefix: ->
    @editSession.getTextInBufferRange([@getBeginningOfCurrentWordBufferPosition(), @getBufferPosition()])

  # Identifies if the cursor is at the start of a line.
  #
  # Returns a {Boolean}.
  isAtBeginningOfLine: ->
    @getBufferPosition().column == 0

  # Retrieves the indentation level of the current line.
  #
  # Returns a {Number}.
  getIndentLevel: ->

      @trigger 'destroyed'
    @needsAutoscroll = true

  # Private:
  destroy: ->
    @marker.destroy()

  # Private:
  changePosition: (options, fn) ->
    @goalColumn = null
    @clearSelection()
