     else if event.keyCode == @KEY_DOWN
       @parent.moveSelection(+1)
       false
+    else if event.keyCode == @KEY_ESC
+      @parent.deactivate()
+      false
 
   keyup: (event) ->
     query = event.target.value

    @controls = new OUT.QuickJump.Controls(this, @selector, @result_callback)
    this.setDefaultResults()

  getDefaultResults: ->
    OUT["quick_jump_#{@type}s_defaults"] || []


      all = $(@selector).find(".result")
      anchor = $(all[@active_result])

  deactivate: ->


  markActiveResult: ->
    if @active_result?
