mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
allow specific regions to be removed on PSI invalidation (IDEA-131718) - required for folding of conditional compilation branches in CLion
fix typo
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ class UpdateFoldRegionsOperation implements Runnable {
|
||||
}
|
||||
|
||||
private boolean regionCanBeRemovedWhenCollapsed(FoldRegion region) {
|
||||
return Boolean.TRUE.equals(region.getEditor().getUserData(CAN_BE_REMOVED_WHEN_COLLAPSED)) || isRegionInCaretLine(region);
|
||||
return Boolean.TRUE.equals(region.getUserData(CAN_BE_REMOVED_WHEN_COLLAPSED)) || isRegionInCaretLine(region);
|
||||
}
|
||||
|
||||
private boolean isRegionInCaretLine(FoldRegion region) {
|
||||
|
||||
Reference in New Issue
Block a user