 
   focusOnAttach: false
 
+  # The constructor for setting up an `EditorView` instance.
+  #
+  # editorOrParams - Either an {Editor}, or an object with one property, `mini`.
+  #                  If `mini` is `true`, a "miniature" `Editor` is constructed.
+  #                  Typically, this is ideal for scenarios where you need an Atom editor,
+  #                  but without all the chrome, like scrollbars, gutter, _e.t.c._.
+  #
   constructor: (editorOrParams, props) ->
     super
 

    else
      @editor.getScrollLeft()

  scrollToBottom: ->
    @editor.setScrollBottom(Infinity)

  scrollToScreenPosition: (screenPosition, options) ->
    @editor.scrollToScreenPosition(screenPosition, options)

  scrollToBufferPosition: (bufferPosition, options) ->
    @editor.scrollToBufferPosition(bufferPosition, options)


    pane = @getPane()
    pane?.splitDown(pane?.copyActiveItem()).activeView

  # Public: Get this view's pane.
  #
  # Returns a {Pane}.
  getPane: ->
    @parent('.item-views').parents('.pane').view()

