mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't search for text occurrences in large files (EA-38447)
This commit is contained in:
@@ -386,6 +386,7 @@ public class PsiSearchHelperImpl implements PsiSearchHelper {
|
||||
for (int i = 0; i < files.length; i++) {
|
||||
if (progress != null) progress.checkCanceled();
|
||||
final PsiFile psiFile = files[i];
|
||||
if (psiFile instanceof PsiBinaryFile) continue;
|
||||
|
||||
ApplicationManager.getApplication().runReadAction(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user