     @selections = []
     @hasTerminatedPendingState = false
 
-    @autoWidth ?= false
     @mini ?= false
     @scrollPastEnd ?= true
     @showInvisibles ?= true

  getWidth: ->
    Grim.deprecate("This is now a view method. Call TextEditorElement::getWidth instead.")
    @width

  getAutoWidth: ->
    @autoWidth

  # Experimental: Scroll the editor such that the given screen row is at the
  # top of the visible area.


  getAutoHeight: -> @autoHeight ? true

  getAutoWidth: -> @autoWidth ? false

  setWidth: (width, reentrant=false) ->
    if reentrant
      @update({width})
