inspector/words#

Functions#

bandWord()#

bandWord(facet): string

Defined in: editor/src/inspector/words.ts:43

The word of a band’s facet, capitalised: Markers, Conversion maps, …

Parameters#

facet#

Facet

Returns#

string


editorName()#

editorName(view, target): string

Defined in: editor/src/inspector/words.ts:57

The name an editor’s target goes by: a bundle’s manifest name, else its id, else “Anonymous bundle”; a group’s or timeline’s name, else its id. A target the view does not hold goes by its address’s words (addressWords).

Parameters#

view#

View

target#

Address

Returns#

string


editorTitle()#

editorTitle(view, editor): string

Defined in: editor/src/inspector/words.ts:96

The name of the open editor editor in the editing path and on the Edit button: a flow-control editor’s Flow control of the name its root goes by, any other the name its target goes by (editorName).

Parameters#

view#

View

editor#
kind?#

EditorKind

target#

Address

Returns#

string


inspectedSubject()#

inspectedSubject(view, selection): InspectedSubject | null

Defined in: editor/src/inspector/words.ts:251

The subject the selection names: for one address, what core resolves it to (the bundle, a group, a measure map, a timeline, a conversion map, a region, a jump, a jump target, a break, a section break, a barline, a timestamp, a MatchStamp, an alignment anchor, a FlowMap or a virtual timeline), each part the address appends prefixed (Card of timeline, Coordinate of timestamp, Regions band of timeline, Chunk 3 of virtual timeline, Label of chunk 3 of virtual timeline); for several addresses their count; null for no selection or an address naming nothing.

Parameters#

view#

View

selection#

Selection

Returns#

InspectedSubject | null


levelTitle()#

levelTitle(view, innermost): LevelTitle

Defined in: editor/src/inspector/words.ts:116

The title of the level whose innermost open editor is innermost: at the top level (undefined) “Arranger” and the workspace’s name, in an editor its kind’s word and the name its target goes by (editorName).

Parameters#

view#

View

innermost#

OpenEditor | undefined

Returns#

LevelTitle


levelWord()#

levelWord(level): string

Defined in: editor/src/inspector/words.ts:38

The word of a level, capitalised: Arranger, Bundle, Group, Timeline, Flow control.

Parameters#

level#

Level

Returns#

string