return getUseScope(originalElement);
}
});
final Ref<Boolean> cancelled = new Ref<Boolean>(Boolean.FALSE);
for (int i = 0; i < files.length; i++) {
<BUG>checkCanceled(progress);
final PsiFile psiFile = files[i];</BUG>
if (psiFile instanceof PsiBinaryFile) continue;
final CharSequence text = ApplicationManager.getApplication().runReadAction(new Computable<CharSequence>() {
@Override

return getUseScope(originalElement);
}
});
final Ref<Boolean> cancelled = new Ref<Boolean>(Boolean.FALSE);
for (int i = 0; i < files.length; i++) {
progress.checkCanceled();
final PsiFile psiFile = files[i];
if (psiFile instanceof PsiBinaryFile) continue;
final CharSequence text = ApplicationManager.getApplication().runReadAction(new Computable<CharSequence>() {
@Override
