Use the scope input defined by the grammar to get the selector, instead of parsing the document to extract it. Fixes the Documentation for Selector command under 10.5 Changed: U trunk/Bundles/Objective-C.tmbundle/Support/lib/docset_query.rb