 class CommandPanelView extends View
   @content: ->
     @div class: 'command-panel tool-panel', =>
-      @div class: 'loading', outlet: 'loadingMessage'
+      @div class: 'loading is-loading', outlet: 'loadingMessage', 'Searching...'
       @div class: 'header', outlet: 'previewHeader', =>
         @ul outlet: 'expandCollapse', class: 'expand-collapse', =>
           @li class: 'expand', 'Expand All'

    @previewList.hide()
    @previewHeader.hide()
    @errorMessages.hide()
    @prompt.iconSize(@miniEditor.getFontSize())

    @history = state.history ? []

        @miniEditor.focus()

  toggleLoading: ->
    @loadingMessage.toggle()

  onExpandAll: (event) =>
    @previewList.expandAllPaths()
