#3 ✓invalid
Kyle Neath

Hitting cancel should not empty results

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

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

Comments and changes to this ticket

  • Trevor Squires

    Trevor Squires November 27th, 2008 @ 05:26 PM

    • 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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ack Textmate Bundle

People watching this ticket