Re: Help -> Documentation (Why doesn't API Search field list result?)
Re: Help -> Documentation (Why doesn't API Search field list result?)
- Subject: Re: Help -> Documentation (Why doesn't API Search field list result?)
- From: Rob Lockstone <email@hidden>
- Date: Tue, 4 Jan 2005 12:39:17 -0800
I'm guessing this is because Xcode is using the same search library
that the Finder uses. The Finder lets you search the content of files,
but it does not allow for partial word searches. So searching for
"file" won't find "filename", but it would find "file blah" or
"file_blah", anything where "file" is considered a "whole word".
I submitted a bug against the Finder about this a while ago.
(<rdar://3565140/> for anyone inside Apple who wants to look). It's
been closed and the subject line was changed to: "Adopt new content
search capabilities of search kit", which I assume is an allusion to
Spotlight. So, hopefully Xcode 2.0 will "adopt the new content search
capabilities of search kit", too. :-) But you should probably file a
bug anyway, just to make sure the Xcode team knows they can do this
with the new search kit.
Rob
On Jan 4, 2005, at 9:36 AM, Ricky Sharp wrote:
On Tuesday, January 04, 2005, at 11:21AM, Jeremy French
<email@hidden> wrote:
Why doesn't the method "fileName" appear in the documentation
browser's
search result list when I enter "filename" for an API search?
In XCode 1.5, I choose HELP -> DOCUMENTATION, and enter "filename" in
the search field; the search field is set to "API Search".
No results are displayed. I shorten the search text to simply "file",
and a slew of items is listed. Scrolling through the list I see
"fileName" listed for NSDocument. Then I type one additional character
to refine the seach, expecting to see only items beginning with
"filen". Instead, the search result list becomes empty.
Why don't I see just items that begin with "filen"?
I can also reproduce this (10.3.7 with Xcode 1.5)
Hmm...it may have something to do with spaces. If the search term is
"file", it brings up a list that starts with:
File Attributes Bitmap
File Bitmap
File_System_Types
...
The first two items have a space after "File".
If I enter a search term of "File " (note the space), the list is
filtered down to only the first two items (as it should). But any
other character (as you've found) doesn't match anything.
I haven't been able to find any other terms that would contain spaces.
But my guess is that they too would cause grief when searching.
Definitely file a bug.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
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