[SVN] r2351 (C)
    Chris Thomas 
    chris at cjack.com
       
    Thu Dec  1 03:58:09 UTC 2005
    
    
  
Quick Open: Use mdfind (where available) to find headers. On Tiger, this gives us much more complete coverage and handles more input forms ("AppKit/NSColor", "AppKit/NSColor.h", "NSColor.h", "NSColor", "sys/errno.h", "errno.h", "errno", "cstdio", "IOKit/firewire/IOFireWireDevice.h" should all work as expected), and speed still seems reasonable.
The previous 'find'-based method is used if the mdfind tool isn't found.
It may make sense to add a TM_USE_MDFIND control variable if some prefer the older version. I'm not sure it's needed or desirable.
Changed:
U   trunk/Bundles/C.tmbundle/Commands/Quick Open.plist
A   trunk/Bundles/C.tmbundle/Support/
A   trunk/Bundles/C.tmbundle/Support/SpotlightSearch.rb
    
    
More information about the textmate-dev
mailing list