Files
vectorcraft/crates/engine
dotCooCoo c7671c615b Scripts: style objects see a style a batch removes and adds again
- A style object goes stale when the steps of one `command.batch` remove
  its style and add another under the same name, as it does when separate
  `vc.run` calls do. The session notes each batch step's style lists while
  a script runs, and the style objects check each of them.
- `add(name)` with all 4,096 style slots of the run taken throws before it
  adds the style; with one slot left it adds it.
- `typename` of a removed style's `characterAttributes` or
  `paragraphAttributes` throws `Stale style`, as its other members do.
- The style load commands refuse `data` over 64 MB without copying it.
- docs/mcp.md states the 64 MB limit for `data` and decoded `dataBase64`;
  docs/gaps.md G6 and the docs/roadmap.md M13 row list the script text
  and style members.
2026-11-21 21:02:47 -08:00
..