workspace/guard#
Functions#
editorSideEffect()#
editorSideEffect(
before,after,editor,command,changes?):Problem|null
Defined in: workspace/guard.ts:690
The refusal of command, which led from before to after, by the
innermost open editor editor: for a flow-control editor, a side_effect for
the first address it does not admit (flowRefused); for any other, the
first change outside its target (sideEffect).
Parameters#
before#
after#
editor#
command#
changes?#
Returns#
Problem | null
ruleInside()#
ruleInside(
manifests,element): (rule) =>boolean
Defined in: workspace/guard.ts:177
Whether a rule lies inside element: every element it matches, in
each of manifests, is contained by element there.
Parameters#
manifests#
readonly Manifest[]
element#
string
Returns#
(rule) => boolean
sideEffect()#
sideEffect(
before,after,target,changes?):Problem|null
Defined in: workspace/guard.ts:485
The first change from before to after that lies outside target, the
innermost open editor’s target, as a side_effect refusal; null when
every change lies inside it. In this order: the workspace’s name, its
graphical or its arrangement; another block; for an element’s editor, its block’s scale, length, spacing,
margin, index, parent or arrangement, a place of a key the element does not contain (a group
member’s editor also changes its group’s length, scale and width and its
siblings’ card widths), and the manifest outside the element (the element
removed included; a display or band order lies inside when the element
contains its group or timeline). A block’s editor changes anything in its
own block but its removal. With changes, the change set of the command
that led from before to after, only the workspace and the blocks it names
are compared; the refusal is the same.
Parameters#
before#
after#
target#
changes?#
Returns#
Problem | null