 path = require 'path'
-{$, $$, Point, SelectListView} = require 'atom'
+{$$, Point, SelectListView} = require 'atom'
 fs = require 'fs-plus'
 
 module.exports =

    colon = query.indexOf(':')
    trimmedPath = @getFilterQuery().trim()

    return trimmedPath == '' and colon != -1

  getFilterQuery: ->
    query = super

    item = @getSelectedItem()
    @confirmed(item)

  confirmed: ({filePath}={}) ->
    if atom.workspace.getActiveEditor() and @isQueryALineJump()
      lineNumber = @getLineNumber()
      @cancel()
