   # {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow}
   largestFoldStartingAtScreenRow: (screenRow) ->
     @displayBuffer.largestFoldStartingAtScreenRow(screenRow)
-
-  # Public: Suggests the indent for the given buffer row.
-  suggestedIndentForBufferRow: (bufferRow) ->
-    @languageMode.suggestedIndentForBufferRow(bufferRow)
-
-  # Public: Indents all the rows between two buffer rows.
-  #
-  # * startRow: The row {Number} to start at (inclusive)
-  # * endRow: The row {Number} to end at (inclusive)
-  autoIndentBufferRows: (startRow, endRow) ->
-    @languageMode.autoIndentBufferRows(startRow, endRow)
-
-  # Public: Indents the given buffer row to it's suggested level.
-  autoIndentBufferRow: (bufferRow) ->
-    @languageMode.autoIndentBufferRow(bufferRow)
-
-  # Public:
-  #
-  # FIXME: What does this do?
-  autoDecreaseIndentForBufferRow: (bufferRow) ->
-    @languageMode.autoDecreaseIndentForBufferRow(bufferRow)
-
-  # Public: Wraps the lines between two rows in comments.
-  #
-  # If the language doesn't have comments, nothing happens.
-  #
-  # startRow - The row {Number} to start at (inclusive)
-  # endRow - The row {Number} to end at (inclusive)
-  #
-  # Returns an {Array} of the commented {Ranges}.
-  toggleLineCommentsForBufferRows: (start, end) ->
-    @languageMode.toggleLineCommentsForBufferRows(start, end)
 
   # Public: Moves the selected line up one row.
   moveLineUp: ->

_ = require 'underscore-plus'
path = require 'path'
Serializable = require 'serializable'
{Model} = require 'theorist'
{Point, Range} = require 'text-buffer'
LanguageMode = require './language-mode'

class Editor extends Model
  Serializable.includeInto(this)
  atom.deserializers.add(this)
  Delegator.includeInto(this)

  @properties
    scrollTop: 0
