editing#

Interfaces#

Editing#

Defined in: arranger/src/editing.ts:29

The innermost open editor, as the canvas draws it: its target and its kind.

Properties#

kind#

readonly kind: EditorKind

Defined in: arranger/src/editing.ts:31

target#

readonly target: Address

Defined in: arranger/src/editing.ts:30

Functions#

addressParts()#

addressParts(address): object

Defined in: arranger/src/editing.ts:45

The block an address lies in and the element address it names there, null for the block itself: the one rule every module reads an address by. The workspace’s address names no block and throws.

Parameters#

address#

Address

Returns#

object

block#

readonly block: string

element#

readonly element: ElementAddress | null


bandTimelineOf()#

bandTimelineOf(block, editing): string | null

Defined in: arranger/src/editing.ts:64

The timeline whose bands block block offers under editing, the innermost open editor: the edited timeline when editing is a timeline editor in this block, else null (on the arranger, in a bundle or group editor, and in another block’s editor). Hitting a band, marking it, dragging it, stepping it by key and keeping it selected all ask this one rule.

Parameters#

block#

string

editing#

Editing | null

Returns#

string | null


changedPlace()#

changedPlace(change): PlaceKey | null

Defined in: arranger/src/editing.ts:124

The place key a change of placeChange states a place under: the inverse of placeChange; null for a change of anything else (the block’s own members, an element’s).

Parameters#

change#

Change

Returns#

PlaceKey | null


flowRootOf()#

flowRootOf(block, editing): string | null

Defined in: arranger/src/editing.ts:84

The root whose FlowMaps block block edits under editing, the innermost open editor: the edited root when editing is a flow editor in this block, else null. The flow subeditor’s pane, its drags and its keys ask this one rule.

Parameters#

block#

string

editing#

Editing | null

Returns#

string | null


frameGroupOf()#

frameGroupOf(block, editing): string | null

Defined in: arranger/src/editing.ts:74

The group whose frame block block is worked in under editing, the innermost open editor: the edited group when editing is a group editor in this block, else null. A card address covers every card of its timeline; inside a frame it names the card that frame holds.

Parameters#

block#

string

editing#

Editing | null

Returns#

string | null


placeChange()#

placeChange(block, key, place): Change

Defined in: arranger/src/editing.ts:102

The change of a set stating place (a place’s members, each a value or null to unstate it) under key of block’s places: a frame’s on its group, a member’s card through its group (cards, by the member’s ID), an ungrouped root’s card on its timeline. A key naming no frame and no card of its drawing throws.

Parameters#

block#

Block

key#

PlaceKey

place#
height?#

number | null

length?#

number | null

margin?#

number | null

Empty space drawn above a frame’s first card and below its last, or a block-held card’s first and last row or band.

scale?#

number | null

spacing?#

number | null

A frame’s gap between its cards; a block-held card’s between its rows and its bands.

width?#

number | null

x?#

number | null

y?#

number | null

Returns#

Change


sameEditing()#

sameEditing(left, right): boolean

Defined in: arranger/src/editing.ts:35

Whether two editors are the same editor, or both absent.

Parameters#

left#

Editing | null

Returns#

boolean