Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Hitting cancel should not empty results

#3

Currently when you hit cancel, it empties out the window that has results in it. This can be frustrating when you realize you already had the search open you wanted, and just want to click on another result.

Steps to reproduce:

  1. cmd-shift-a to open up search.
  2. Search for something that has results
  3. Click on one of the results. Do something.
  4. cmd-shift-a to open up search.
  5. Hit escape/cancel

Expected result: results that were in the window stay Actual result: results are cleared and a blank window is shown

Reported by Kyle Neath · October 29th, 2008 @ 11:17 PM

State: new
Milestone: none
Assigned to: Trevor Squires Trevor Squires

Activity

  1. Kieran P
  2. Trevor Squires
    Trevor Squires
    • State changed from new to invalid

    Unfortunately it's a function of how TextMate handles output from external commands as well as a specific design decision on my part.

    First of all, the only way to obtain the results you want would be to use textmate's feature of using a script return value to signify how the output should be handled. This is how some bundles manage to show you a dialog and output window that's less 'destructive' than ack-in-project.

    However, one of the goals of ack-in-project is to supply results as soon as they are available. Waiting until I can supply a return value from the script would be too late imho - you'd never get to see the results as they come in.

    November 27th, 2008 @ 05:26 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.