Skip to content

editor / selectionAfterRange

Function: selectionAfterRange() ​

selectionAfterRange(selection, vertex): VertexSelection

Defined in: model/selection-after-range.ts:16

Selection after Shift + click on a row of the list: every vertex from the start of the range to the one clicked, both included, replacing the selection; the start stays. Without a start yet, a plain click (F03.AC5, REF-APPLE-SELECT, REF-WAI-APG-LISTBOX).

Parameters ​

selection ​

VertexSelection

selection before the click

vertex ​

number

number of the vertex clicked, from 0

Returns ​

VertexSelection

the new selection, ascending

Kind ​

domain

See ​

REF-APPLE-SELECT