On Dec 10, 2011, at 20:18, Bill Shack wrote:
> On Dec 10, 2011, at 12:30 PM, Christiaan Hofman wrote:
>> You can just search for it by not putting it in quotes. I don't understand what Preview does, we just pass the search on to PDFKit, so I find it weird that Preview would behave differently.
> It does seem to behave differently. If I enter "risk factor" without quotes in Preview, I get all instances of "risk" and "factor" [OR search]. If I enter "risk factor" with quotes, I get only the instances where risk and factor are together [AND search].
> In Skim, If I enter "risk factor" without quotes, I get all instances of "risk" and "factor". If enter with quotes, I get nothing. If I enter "risk factor, I get all instances of factor. If I enter risk factor", I get all instances of risk. Skim seems to be looking literally for "risk or factor".
The difference is that
1. Skim's search depends on the search options in the search field's menu (Preview does not allow to change those options, it always searches like (Whole Words Only).
2. Skim does not allow grouping words using double-quotes (so the quotes will be part of the searched words). That's because Preview does some extra analyzing of the search term, while Skim simply splits at spaces. This will change in the next release.
3. When you search *without* Whole Words Only, it looks for the complete phrase, no need for quotes.