 
   focusFilter: =>
     @searchField.focus()
-    @searchField.getModel().selectAll()
 
   applyFilter: =>
     @filterText = @searchBuffer().getText()

          @div class: "icon icon-chevron-up", title: "collapse all", outlet: 'btnCollapse'
          @div class: "icon icon-chevron-down", title: "expand all", outlet: 'btnExpand'
        @div class: "go-outline-search", =>
          @subview 'searchField', new TextEditorView(mini: true)
          @div class: "icon icon-x", outlet: 'btnResetFilter'
      @div class: 'go-outline-tree-scroller order--center', outlet: 'scroller', =>
        @ol class: 'go-outline-tree full-menu list-tree has-collapsable-children focusable-panel', tabindex: -1, outlet: 'list'

      else if e.keyCode == 27 # pressed ESC
        @resetFilter()

    editorView.addEventListener 'focus', (e) =>
      @searchField.getModel().selectAll()


  searchBuffer: =>
    @searchField.getModel().getBuffer()

