return CacheManager.SERVICE.getInstance(myManager.getProject()).getFilesWithWord(wordToSearch, UsageSearchContext.IN_PLAIN_TEXT, theSearchScope, true);
}
});
final StringSearcher searcher = new StringSearcher(qName, true, true, false);
final int patternLength = searcher.getPattern().length();
<BUG>if (progress != null) {</BUG>
progress.pushState();
progress.setText(PsiBundle.message("psi.search.in.non.java.files.progress"));
<BUG>}</BUG>
final SearchScope useScope = originalElement == null ? null : ApplicationManager.getApplication().runReadAction(new Computable<SearchScope>() {

return CacheManager.SERVICE.getInstance(myManager.getProject()).getFilesWithWord(wordToSearch, UsageSearchContext.IN_PLAIN_TEXT, theSearchScope, true);
}
});
final StringSearcher searcher = new StringSearcher(qName, true, true, false);
final int patternLength = searcher.getPattern().length();
progress.pushState();
progress.setText(PsiBundle.message("psi.search.in.non.java.files.progress"));
final SearchScope useScope = originalElement == null ? null : ApplicationManager.getApplication().runReadAction(new Computable<SearchScope>() {
