Files
vectorcraft/docs
dotCooCoo 9e6c315689 Scripts: selection, controlBounds, Revert and preset limits in the object model
- Document.selection = undefined throws a TypeError and keeps the
  selection; null and [] still clear it. The assignment finds the locked
  artboards once and drops repeated objects with a set.
- PageItem.controlBounds is the visible bounds widened to take in the
  direction points of every path in the object.
- A page item or layer handle carries the document's revert count, so an
  object read before file.revert throws Stale page item.
- Restoring a selection gives a path with only segments selected no
  anchors of its own before its segments are added back.
- A failed object-model call and a vc.run result that cannot reach the
  script put back the growth they were charged.
- DocumentPreset values count against the run's heap by what they hold
  now; an assignment past it throws a RangeError.
- A host class member named constructor is refused, and reflect's find
  function is frozen.
- file.new keeps the stored columns while rows are set, so a change of
  spacing alone no longer changes the grid a later layout uses.
- command_value passes the id and params through without copying them.
- Tests: the getIsFileOpen test passes its paths as JSON strings, and the
  locked removeAll test checks both objects from inside the script.
2026-11-21 20:36:49 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00
…
2026-11-20 06:07:45 +07:00