• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Leopard not indexing character constants :(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leopard not indexing character constants :(


  • Subject: Leopard not indexing character constants :(
  • From: Matt Gough <email@hidden>
  • Date: Tue, 20 Nov 2007 18:26:49 +0100

I am pretty sure that in Tiger, Spotlight would index the 'Xfgd' part of declaration such as:

OSType kMyID = 'Xfgd';

As such, if I came across such a value in the debugger I could do a Spotlight search for Xfgd and quickly find the relevant header and declaration.

It seems that in Leopard, such things are no longer being indexed inside 'standard' source file types (.h, .c, .cpp, .m etc).

Interestingly, they do still get found in .r files.

E.g if you do a search for hcnm you will find:
#define kThemeHighlightColorNameTag 'hcnm'
inside Appearance.r, but you won't find the equivalent declaration in Appearance.h.



Does anyone know if this was a deliberate change, or just something that got lost by accident?


Matt Gough
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Feature request: Print with line lumbers - or did I miss something ?
  • Next by Date: Re: Problem with #include <unistd.h> - 'close' was not declared
  • Previous by thread: Xcode 3 and sample wchar_t data formatter
  • Next by thread: Complete list of PBXCustomTemplateMacroDefinitions values?
  • Index(es):
    • Date
    • Thread