 EditorView = require './editor-view'
 fuzzyFilter = require('fuzzaldrin').filter
 
-# Public: Provides a widget for users to make a selection from a list of
-# choices.
+# Public: Provides a view that renders a list of items with an editor that
+# filters the items. Used by many packages such as the fuzzy-finder,
+# command-palette, symbols-view and autocomplete.
 #
 # Subclasses must implement the following methods:
 #

#
# ```coffee
# {SelectListView} = require 'atom'
# ```
module.exports =
class SelectListView extends View

  attach: ->
    @storeFocusedElement()

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

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

