 
   redraw: ->               # No-op shim
 
+  # Public: Set the text to appear in the editor when it is empty.
+  #
+  # This only affects mini editors.
+  #
+  # placeholderText - A {String} of text to display when empty.
   setPlaceholderText: (placeholderText) ->
     if @component?
       @component.setProps({placeholderText})

    else
      @editor.getScrollLeft()

  scrollToBottom: ->
    @editor.setScrollBottom(Infinity)

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

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



  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

