activeFold property

CNReservedRegion? get activeFold

The fold content should avoid right now, if any.

Implementation

CNReservedRegion? get activeFold {
  for (final r in regions) {
    if (r.kind == CNReservedRegionKind.division && r.isActive) return r;
  }
  return null;
}