mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure correct PSI containing file in multi-root files folding (IDEA-145592)
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ class UpdateFoldRegionsOperation implements Runnable {
|
||||
continue;
|
||||
}
|
||||
|
||||
info.addRegion(region, smartPointerManager.createSmartPsiElementPointer(psi, myFile));
|
||||
info.addRegion(region, smartPointerManager.createSmartPsiElementPointer(psi));
|
||||
newRegions.add(region);
|
||||
|
||||
boolean expandStatus = !descriptor.isNonExpandable() && shouldExpandNewRegion(element, range, rangeToExpandStatusMap);
|
||||
|
||||
Reference in New Issue
Block a user