setCharIdVisibility
constsetCharIdVisibility: (snapshot,spans) =>PieceTableSnapshot
Change retained IDs’ visibility without allocating identities or copying their payloads. Spans must be disjoint, so contradictory visibility cannot depend on input order.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”readonly CharIdVisibility[]