MCPcopy Create free account
hub / github.com/nodejs/node / selectionHandlerSelect

Function selectionHandlerSelect

deps/v8/tools/turbolizer/src/views/text-view.ts:279–285  ·  view source on GitHub ↗
(selection: SelectionMap, ids: Array<any>,
    selected: boolean, scrollIntoView: boolean = false)

Source from the content-addressed store, hash-verified

277 }
278
279 private selectionHandlerSelect(selection: SelectionMap, ids: Array<any>,
280 selected: boolean, scrollIntoView: boolean = false): void {
281 this.selectionCleared = false;
282 const firstSelect = scrollIntoView ? this.blockSelections.current.isEmpty() : false;
283 selection.select(ids, selected);
284 this.updateSelection(firstSelect);
285 }
286
287 private selectionHandlerClear(): void {
288 this.clearSelection();

Callers

nothing calls this directly

Calls 3

selectMethod · 0.65
isEmptyMethod · 0.45
updateSelectionMethod · 0.45

Tested by

no test coverage detected