commands/add#
Variables#
ADDABLE#
constADDABLE:{ readonly [kind in TargetKind]: readonly AddKind[] }
Defined in: commands/add.ts:88
What add puts into each kind of target.
Functions#
applyAdd()#
Defined in: commands/add.ts:762
Apply an add: put its value into the target its into resolves to,
recording the change in changes; a kind the target does not take is
wrong_target_kind.
Parameters#
view#
command#
changes#
Returns#
withStatedPlacement()#
withStatedPlacement(
view,command):Command
Defined in: commands/add.ts:190
command as the store journals it: an add of a block into the workspace
with every placement member it leaves out stated from the workspace’s
block defaults, so that replaying the journal reads no setting; any other
command unchanged.