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


  # Public: Focus the fuzzy filter editor.
  focusEditor: ->
    @editorView.focus()

  storeFocusedElement: ->
    @previouslyFocusedElement = $(':focus')

{$, View} = require './space-pen-extensions'
filterEditorView = require './editor-view'
fuzzyFilter = require('fuzzaldrin').filter

# Public: Provides a view that renders a list of items with an editor that
