code: function _loadFileAndScan(fullPath, selector) {
              var oneFileResult = new $.Deferred();
  
              DocumentManager.getDocumentForPath(fullPath)
                  .done(function (doc) {
                      // Find all matching rules for the given CSS file's content, and add them to the
                      // overall search result
                      var oneCSSFileMatches = _findAllMatchingSelectorsInText(doc.getText(), selector, doc.getLanguage().getMode());
                      _addSelectorsToResults(resultSelectors, oneCSSFileMatches, doc, 0);
  
                      oneFileResult.resolve();
                  })
                  .fail(function (error) {
                      console.warn("Unable to read " + fullPath + " during CSS rule search:", error);
                      oneFileResult.resolve();  // still resolve, so the overall result doesn't reject
                  });
  
              return oneFileResult.promise();
          }
docs: Load one CSS file and search its contents