mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unneeded code in FoldRegionImpl
region will be removed from group in Node.onRemoved (see FoldingModelImpl.MyMarkerTree.createNewNode) anyway
This commit is contained in:
@@ -130,9 +130,6 @@ public class FoldRegionImpl extends RangeMarkerWithGetterImpl implements FoldReg
|
||||
if (isValid()) {
|
||||
alignToSurrogateBoundaries();
|
||||
}
|
||||
else {
|
||||
myEditor.getFoldingModel().removeRegionFromGroup(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user