MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / callback

Function callback

packages/blockly/core/contextmenu_items.ts:49–51  ·  view source on GitHub ↗
(scope: Scope)

Source from the content-addressed store, hash-verified

47 return 'disabled';
48 },
49 callback(scope: Scope) {
50 scope.workspace!.undo();
51 },
52 scopeType: ContextMenuRegistry.ScopeType.WORKSPACE,
53 id: 'undoWorkspace',
54 weight: 1,

Callers

nothing calls this directly

Calls 15

toggleOption_Function · 0.85
getDeletableBlocks_Function · 0.85
deleteNext_Function · 0.85
getFocusManagerFunction · 0.85
undoMethod · 0.80
redoMethod · 0.80
cancelCurrentGestureMethod · 0.80
hasIconMethod · 0.80
setCommentTextMethod · 0.80
getInputsInlineMethod · 0.80
hasDisabledReasonMethod · 0.80
focusNodeMethod · 0.80

Tested by

no test coverage detected