 TextMateScopeSelector = require('first-mate').ScopeSelector
 {Directory} = require "pathwatcher"
 GutterContainer = require './gutter-container'
+TextEditorElement = require './text-editor-element'
 
 # Essential: This class represents all essential editing state for a single
 # {TextBuffer}, including cursor and selection positions, folds, and soft wraps.

  suppressSelectionMerging: false
  selectionFlashDuration: 500
  gutterContainer: null

  @deserialize: (state, atomEnvironment) ->
    try

  Section: TextEditor Rendering
  ###

  # Get the Element for the editor.
  getElement: ->
    @editorElement ?= new TextEditorElement().initialize(this, atom)

  # Essential: Retrieves the greyed out placeholder of a mini editor.
  #
  # Returns a {String}.
