 #
 # **When in doubt, just default to buffer coordinates**, then experiment with
 # soft wraps and folds to ensure your code interacts with them correctly.
-#
-# ## Common Tasks
-#
-# This is a subset of methods on this class. Refer to the complete summary for
-# its full capabilities.
-#
-# ### Cursors
-# - {::setCursorBufferPosition}
-# - {::setCursorScreenPosition}
-# - {::moveCursorUp}
-# - {::moveCursorDown}
-# - {::moveCursorLeft}
-# - {::moveCursorRight}
-# - {::moveCursorToBeginningOfWord}
-# - {::moveCursorToEndOfWord}
-# - {::moveCursorToPreviousWordBoundary}
-# - {::moveCursorToNextWordBoundary}
-# - {::moveCursorToBeginningOfNextWord}
-# - {::moveCursorToBeginningOfLine}
-# - {::moveCursorToEndOfLine}
-# - {::moveCursorToFirstCharacterOfLine}
-# - {::moveCursorToTop}
-# - {::moveCursorToBottom}
-#
-# ### Selections
-# - {::getSelectedBufferRange}
-# - {::getSelectedBufferRanges}
-# - {::setSelectedBufferRange}
-# - {::setSelectedBufferRanges}
-# - {::selectUp}
-# - {::selectDown}
-# - {::selectLeft}
-# - {::selectRight}
-# - {::selectToBeginningOfWord}
-# - {::selectToEndOfWord}
-# - {::selectToPreviousWordBoundary}
-# - {::selectToNextWordBoundary}
-# - {::selectWord}
-# - {::selectToBeginningOfLine}
-# - {::selectToEndOfLine}
-# - {::selectToFirstCharacterOfLine}
-# - {::selectToTop}
-# - {::selectToBottom}
-# - {::selectAll}
-# - {::addSelectionForBufferRange}
-# - {::addSelectionAbove}
-# - {::addSelectionBelow}
-# - {::splitSelectionsIntoLines}
-#
-# ### Manipulating Text
-# - {::getText}
-# - {::getSelectedText}
-# - {::setText}
-# - {::setTextInBufferRange}
-# - {::insertText}
-# - {::insertNewline}
-# - {::insertNewlineAbove}
-# - {::insertNewlineBelow}
-# - {::backspace}
-# - {::deleteToBeginningOfWord}
-# - {::deleteToBeginningOfLine}
-# - {::delete}
-# - {::deleteToEndOfLine}
-# - {::deleteToEndOfWord}
-# - {::deleteLine}
-# - {::cutSelectedText}
-# - {::cutToEndOfLine}
-# - {::copySelectedText}
-# - {::pasteText}
-#
-# ### Undo, Redo, and Transactions
-# - {::undo}
-# - {::redo}
-# - {::transact}
-# - {::abortTransaction}
-#
-# ### Markers
-# - {::markBufferRange}
-# - {::markScreenRange}
-# - {::getMarker}
-# - {::findMarkers}
-#
-# ### Decorations
-# - {::decorateMarker}
-# - {::decorationsForScreenRowRange}
 module.exports =
 class Editor extends Model
   Serializable.includeInto(this)

  getMarkerCount: ->
    @buffer.getMarkerCount()

  # Public: Determine if there are multiple cursors.
  hasMultipleCursors: ->
    @getCursors().length > 1

  decorationForId: (id) ->
    @displayBuffer.decorationForId(id)

  ###
  Section: Markers
  ###

  # Public: Get the {DisplayBufferMarker} for the given marker id.
  getMarker: (id) ->
    @displayBuffer.getMarker(id)
