version property

int version
getter/setter pair

Monotonically increasing mutation counter, bumped by every method that changes cell data or recycles the line (reset). Consumers such as the painter's per-line replay cache compare versions to detect changes without diffing cell contents. Anchor moves do not bump it — anchors do not affect what the line paints.

Implementation

int version = 0;