   # This method can be overridden by subclasses but `super` should always
   # be called.
   initialize: ->
-    @miniEditor.getEditor().getBuffer().on 'changed', => @schedulePopulateList()
-    @miniEditor.hiddenInput.on 'focusout', => @cancel() unless @cancelling
+    @editorView.getEditor().getBuffer().on 'changed', => @schedulePopulateList()
+    @editorView.hiddenInput.on 'focusout', => @cancel() unless @cancelling
 
     @on 'core:move-up', =>
       @selectPreviousItemView()

class SelectListView extends View
  @content: ->
    @div class: @viewClass(), =>
      @subview 'miniEditor', new EditorView(mini: true)
      @div class: 'error-message', outlet: 'error'
      @div class: 'loading', outlet: 'loadingArea', =>
        @span class: 'loading-message', outlet: 'loading'

  #
  # Returns a {String} to use when fuzzy filtering the elements to display.
  getFilterQuery: ->
    @editorView.getEditor().getText()

  # Public: Build the DOM elements using the array from the last call to
  # {.setItems}.
