mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 20:18:38 -05:00
- `artboards.insert` returns nothing, as the scripting reference says; `add` still returns the new artboard. - `toString` of `Layers`, `GroupItems`, `CompoundPathItems` and `Artboards` checks the collection as `typename` does, so a collection whose container is gone throws instead of stringifying. - The collections' `index` is described as returning their element class, with an `itemKey` of any type. `PageItems.parent` and `PathItems.parent` are described as any type, since scoped collections return a layer or group. - `hasSelectedArtwork` charges the selection and every node of the layer it looks at to the script budget, also when it runs no command. - A document made during the run whose active artboard the run chose is reported when an artboard inserted before it moves it. - Tests: a test-only counter of built art lists bounds the group loop test, and the rejected-parameter checks of `object.newGroup` compare the whole layer tree.