mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-46072 - assert: LowLevelSearchUtil.processElementsContainingWordInElement
do not search in elements without text range
This commit is contained in:
@@ -70,7 +70,7 @@ public class LocalSearchScope extends SearchScope {
|
||||
List<PsiFile> files = ((PsiFile)element).getViewProvider().getAllFiles();
|
||||
ContainerUtil.addAll(localScope, files);
|
||||
}
|
||||
else {
|
||||
else if (element.getTextRange() != null){
|
||||
localScope.add(element);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user