mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FIXED IDEA-164941 Confusing "Custom region" records in File Structure
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ public class CustomRegionStructureUtil {
|
||||
|
||||
private static Collection<CustomRegionTreeElement> collectCustomRegions(@NotNull PsiElement rootElement, @NotNull Set<TextRange> ranges) {
|
||||
Iterator<PsiElement> iterator = SyntaxTraverser.psiTraverser(rootElement)
|
||||
.regard(element -> isCustomRegionCommentCandidate(element) && !isInsideRanges(element, ranges))
|
||||
.filter(element -> isCustomRegionCommentCandidate(element) && !isInsideRanges(element, ranges))
|
||||
.iterator();
|
||||
|
||||
List<CustomRegionTreeElement> customRegions = ContainerUtil.newSmartList();
|
||||
|
||||
Reference in New Issue
Block a user